array array_unique ( array $array [, int $sort_flags = SORT_STRING ] ) Takes an input array and returns a new array without duplicate values.
Category Archives: PHP
“Who Is Online” Widget With PHP, MySQL & jQuery
For this week’s tutorial, we are taking a look at our ever-so-interesting inbox. It all started with a letter from one of our readers a couple of weeks ago:
Deprecated: Function eregi() is deprecated
It means the function is old and not supposed to use anymore. I don’t remember the versions where this still was or where it was removed but thats probably the case. You should use preg_match. And instead of all ereg* functions there is usually preg_* function that you can use. You can use the i …
Continue reading “Deprecated: Function eregi() is deprecated”
PHP Jquery Multiple upload files
What is this? The Multiple File Upload Plugin (jQuery.MultiFile) is a non-obstrusive plugin for the jQuery Javascript library that helps users easily select multiple files for upload quickly and easily whilst also providing some basic validation functionality to help developers idenfity simple errors, without having to submit the form (ie.: upload files).
PHP Thumbnail Image of Youtube Video
With PHP language, I can give you a tutorial how to catch / captive a current youtube image thumbnail from the certain video. From the example below, I show to you how to get the thumbnail of IRON MAN 2 UPDATE from Youtube. The URL : http://www.youtube.com/watch?v=1TiYlG21VAQ.
Wake-on-LAN Tutorial with PHP
I love tweaking my computer! Every opportunity that allows me to specify what I want makes me excited of the possibilities. (With the exception of Azureus. That’s just too confusing for me!) In fact, the first thing I check after installing a new program is the possible existence of "Options," "Preferences," "Tools," "Configuration," "Settings," or …