Php Backup Snippets


29 July, 2015   

Apache code example shows how to remove .php from URL

PHP code example for redirecting from old URL to new URL

You can use a url shortener with Twitter such as tinyurl.com

This is a very common PHP question of HOW TO remove last character from string in PHP. Find below some ways how to delete last character from string in PHP.

16 March, 2014   

How to create mysql table using php. The php script as follows as:

04 February, 2012   

PHP function example that writes a name when it is called.

02 June, 2011   

This is your most basic version of an image CAPTCHA.

30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

01 October, 2013   

This php code for mail someone from your code

09 February, 2013   

There are websites that will watch a page for you and notify but I didn't really like the way they worked.

MySQL code to Find PHP code in database Drupal 6.x

Example shown here how to convert a PHP array into a string

01 October, 2014   

PHP example code for secure link conversion

05 April, 2014   

PHP code to take web screenshots. You can get your application key and secret by registering at grabz.it

26 May, 2012   

Helps to find out browser version and type your website visitor is using

An example PHP function return a value, use the return statement.

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

07 December, 2011   

Php code to guessing a number using in html page

27 May, 2015   

A very common task is converting a number of bytes into something for human digestion.

07 April, 2013   

A simple example code for user login with a login form and database query