Archive for the ‘PHP’ Category

Home » Blog » Resources » PHP

Twitter Facebook Like Time Difference using PHP

If you want to display time difference like twitter,facebook using PHP function then use following function which outputs time difference like 20 minutes ago,2 days ago,1 week ago call this function as

PHP Ipad and Iphone detection

If you want to detect Ipad and Iphone browser then following snippet will help you to redirect users to new page specifically designed for Iphone or Ipad devices. PHP Ipad detection code [PHP] [/php] PHP Iphone detection code [PHP] [/php]

php validate twitter username

If you want to validate twitter username using PHP then you can achieve this using CURL. Following function will check whether twitter username exists or not.

PHP url validation using filter_var() function

You can validate url using php filter_var() function using following code.

Jquery PHP feedback form

This post will be focus on creating a Feedback form powered by jquery and PHP. You can add this feedback form to your website to receive feedback’s from your website readers.

Tutorials July 2010

All the latest jquery,html5,css3 tutorials Showing Off bit.ly Clicks of Your Posts With jQuery By Mike More, July 29th, 2010 Site: AEXT Thumbnails Navigation Gallery with jQuery By Mary Lou, July 29th, 2010 Site: Codrops Building a custom HTML5 video player with CSS3 and jQuery By Cristian-Ionut Colceriu, July 28th, 2010 Site: Dev Opera Start [...]

PHP calculate age from date of birth

Code added to this post will calculate date difference in days, months, years format. So using this code you can calculate age by sending birth date as parameter. Or you can calculate difference between today’s date and any date in past.

PHP Add One Month, one day or one Year to todays date

This example shows you how to add one day, one month or one year to todays date using PHP Date Functions. for more information refer PHP.net

Create Image using PHP

PHP have mosts of functions available to create a image on the fly. You can use these functions to create a captcha image or a add banner on the fly. Create Image Create image using the PHP function createimage(), function will create image with the dimensions of the image, namely its width and height in [...]

get all file names from folder PHP

Following code will retrieve all file names from a specified folder.

How to remove the http://t.co/XhUQ8T6p link from Login / Register Page: On self hosted wordpress blogs wordpress ... http://t.co/LWDOuEfq - 1 week ago