cURL jSON data from an API, such as Google, using PHP.
Pretty straight forward function to create a CSV file (comma separated) using PHP.
Create dynamic website screenshot using WordPress.com
I just read from the VaultPress blog that they’ve found a vulnerability in this popular script.
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.
You just need to use the following server PHP variable…
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.