0 comments
 
With following snippet you can remove or replace all special characters from a string.
Added by on September-16-2013
 
0 comments
 
PHP Constants and Variables can be Insecure if not used properly. Below is an example code that demonstrates how a script may be compromised when register_globals directive is turned ON. The example was taken from security.globals.php:
Added by on June-13-2013
 
0 comments
 
5 ways to check if an integer is even or odd. PHP does not provide any mathematical function like is_even to help you check if a given integer is an Even number or Odd. Writing your own such function is not difficult and below are listed a number of alternatives that provide different logical solutions to do this.
Added by on June-1-2013
 
0 comments
 
If you have more than one banner that you want to display on your site in random order use following snippet.
Added by on January-2-2013
 
0 comments
 
This little PHP snippet will display your advertisement links randomly every time the user re-loads the page.
Added by on May-19-2012
 
0 comments
 
This little snippet removes any weird characters and converts everything to lowercase.
Added by on April-6-2012
 
0 comments
 
With this PHP function you can validates alphanumeric characters.
Added by on December-30-2011
 
0 comments
 
Displaying a favicon on your own site is very easy using Google and the following PHP snippet.
Added by on November-27-2011
 
0 comments
 
If you want to remove spam links from your blog comments or from your site use the following snippet:
Added by on November-12-2011
 
0 comments
 
To get search engine (Google, Yahoo, MSN) referal keywords using PHP add following snippet in your page.
Added by on October-31-2011
 
 
6 pages