heinz1959's Favorite PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 2] Next »
PHP htaccess ExpressionEngine saved by 4 people
.htaccess modified
posted on February 1, 2010 by
PHP browser simple detection saved by 4 people
detect browser to choose CSS file
posted on November 4, 2009 by
PHP database sql php String security sanitize saved by 5 people
Sanitize a PHP string for input into a Database
posted on October 6, 2009 by
PHP php png save thumbnails create saved by 3 people
PHP Create Thumbnails [PNG]
posted on September 9, 2009 by
PHP php save thumbnails create jpeg saved by 4 people
PHP Create Thumbnails [JPEG]
posted on September 9, 2009 by
PHP php gif save thumbnails create saved by 2 people
PHP Create Thumbnails [GIF]
posted on September 9, 2009 by
PHP saved by 2 people
Bouncemanagement
posted on July 29, 2009 by
PHP saved by 4 people
Force downloading of a file
posted on July 28, 2009 by
PHP http ajax php cgi saved by 2 people
isAjax()
posted on July 3, 2009 by
PHP php ip saved by 3 people
Function getIP
posted on April 23, 2009 by
PHP urlformatting saved by 5 people
Format URL to go to the same directory
posted on July 9, 2008 by
PHP saved by 4 people
phone number format
posted on July 8, 2008 by
PHP textmate guid saved by 1 person
to_guid_string
posted on June 1, 2008 by
PHP php textmate saved by 4 people
Split an URL into protocol, site, and resource parts
posted on May 31, 2008 by
PHP globals xss saved by 2 people
Sanitise $_SERVER globals
posted on May 29, 2008 by
PHP get xss hacker saved by 3 people
Prevent any possible XSS attacks via $_GET
posted on May 29, 2008 by
PHP php date format to usa transform reverse easy d-m-y y-m-d european quickest saved by 7 people
Easy transform date format y-m-d => d-m-y on PHP
posted on April 15, 2008 by
PHP php date format to usa transform reverse easy d-m-y y-m-d european saved by 1 person
Easy transform date format d-m-y => y-m-d on PHP
posted on April 15, 2008 by
PHP time date days ago saved by 43 people
Days ago function
posted on April 14, 2008 by
PHP email valid validate saved by 18 people
ultimate validate email function
posted on March 10, 2008 by
PHP arrays saved by 2 people
Arrays
posted on January 20, 2008 by
PHP time timezone dates formatting saved by 4 people
Date & Time Basics
posted on January 20, 2008 by
PHP url php htaccess nice saved by 306 people
Nice URLS PHP .htaccess
posted on January 14, 2008 by
PHP ipAddress saved by 77 people
Getting real IP address in PHP
posted on January 1, 2008 by
PHP array strstr stristr saved by 1 person
strstr() and stristr() with Arrays
posted on December 30, 2007 by
PHP password saved by 15 people
password protect
posted on December 13, 2007 by
PHP sql function injection prevent saved by 69 people
Prevent SQL Injection
posted on November 28, 2007 by
PHP drupal saved by 4 people
Drupal Index
posted on November 24, 2007 by
PHP table colour row saved by 9 people
Alternating MYSQL table row colour
posted on November 23, 2007 by
PHP mysql php saved by 12 people
PHP MySQL Starting Point
posted on November 8, 2007 by
PHP curl php filegetcontents saved by 14 people
CURL replacement for file_get_contents
posted on November 7, 2007 by
PHP php textmate array String saved by 3 people
Check if string
posted on October 29, 2007 by
PHP textmate drupal cck saved by 4 people
Helper function to create a content type
posted on October 14, 2007 by
PHP forms drupal theming saved by 2 people
Getting rid of form elements in a drupal theme function
posted on October 11, 2007 by
PHP mysql class php saved by 2 people
DB_mysql
posted on October 10, 2007 by
PHP php number is a checking odd even if or saved by 20 people
How to check if a number is odd or even
posted on October 9, 2007 by
PHP regex email validation saved by 20 people
check_email_address() email validator
posted on August 30, 2007 by
PHP php saved by 3 people
PHP: Insert Data Into MySQL Table Using An Array [mysql] [php] [array] [INSERT]
posted on August 24, 2007 by
PHP session saved by 2 people
Session Class
posted on July 11, 2007 by
PHP mysql php textmate security sql-injection saved by 167 people
Anti-SQL Injection Function
posted on May 27, 2007 by
« Prev [Page 1 of 2] Next »