How to create a random password generator with PHP. The code basically uses predefined characters to create a string. You can set the length and the strength.
Do you remember the post I wrote about How to calculate relative time like facebook? The code was a little bit messy so today i’ll show you a short snippet.
If you want to upload a file with CodeIgniter you should read my old post about it first. Setup the Config Arguments. Add the mime type mp4 to CodeIgniter.
You just need to use the following server PHP variable…
Speed Up your CodeIgniter websites with HTML output and Gzip compression.
This snippet returns the relative time from a given date. Just like facebook does.
Prevent the facebook like button from breaking your site with Internet Explorer. Hide Google Analytics duplicate url with the fb_xd_fragment parameter.
Found this cool snippet with returns how old is somebody from a given birthday.
Parse YouTube ID from the URL using the PHP function preg_match.
Upload multiple images in one same form is not that simple. You need to initialize the upload or the resize if you want to Resize Multiple Images with CodeIgniter.