Popular PHP Snippets




« Prev [Page 1 of 98] Next »
  1. FAVCheck for valid email address

    PHP regex email valid saved by 340 people
    posted on November 30, -0001 by tylerhall
  2. FAVNice URLS PHP .htaccess

    PHP url php htaccess nice saved by 319 people
    posted on January 14, 2008 by Abe
  3. FAVLogin Class

    PHP login auth class php saved by 238 people
    posted on November 30, -0001 by tylerhall
  4. FAVDownload file

    PHP file download saved by 178 people
    posted on July 3, 2006 by luman
  5. FAVAnti-SQL Injection Function

    PHP mysql php textmate security sql-injection saved by 173 people
    posted on May 27, 2007 by llbbl
  6. FAVMySQL Dump

    PHP mysql backup saved by 157 people
    posted on July 1, 2006 by neogeek
  7. FAVRSS Writer Class

    PHP class rss writer feed saved by 157 people
    posted on November 30, -0001 by tylerhall
  8. FAVSimple MySQL Search Function

    PHP mysql search saved by 139 people
    posted on July 1, 2006 by neogeek
  9. FAVPhp xml Parser

    PHP saved by 126 people
    posted on July 17, 2006 by nicolaspar
  10. FAVResize Image

    PHP resize image gd jpg png gif saved by 96 people
    posted on November 30, -0001 by tylerhall
  11. FAVUS States and World Countries Collection

    PHP states dropdown list countries saved by 84 people
    posted on July 1, 2006 by neogeek
  12. FAVGetting real IP address in PHP

    PHP ipAddress saved by 80 people
    posted on January 1, 2008 by mifly
  13. FAVPHP Tag Cloud Based on Word Frequency

    PHP php cloud tag frequency saved by 78 people
    posted on February 27, 2007 by koncept
  14. FAVPrevent SQL Injection

    PHP sql function injection prevent saved by 74 people
    posted on November 28, 2007 by engel
  15. FAVCalculate the Distance Between Two Coordinates (latitude, longitude)

    PHP math longitude distance latitude saved by 67 people
    posted on April 24, 2007 by tylerhall
  16. FAVFTP file upload example

    PHP login php file upload FTP chmod saved by 66 people
    posted on August 14, 2006 by hxseven
  17. FAVThumbs on fly

    PHP image thumbs saved by 63 people
    posted on June 29, 2006 by luman
  18. FAVclean user input data ( GET, POST, COOKIE )

    PHP get mysql sql php post input cookie injection clean saved by 62 people
    posted on November 21, 2007 by peteypablonz
  19. FAVckeckMail

    PHP email mail check validation saved by 60 people
    posted on June 28, 2006 by luman
  20. FAVCreate a thumbnail maintaining aspect ratio using GD

    PHP php gd thumbnail aspect saved by 57 people
    posted on August 9, 2006 by mthorn
  21. FAVFormat Phone Number

    PHP regex phone number format saved by 57 people
    posted on November 30, -0001 by tylerhall
  22. FAVMYSQL Database Class

    PHP mysql database class php saved by 54 people
    posted on May 27, 2007 by emuen
  23. FAVCerate zip files PHP

    PHP php saved by 53 people
    posted on September 13, 2007 by lmcdougall
  24. FAVCheck for AJAX Request

    PHP ajax php saved by 52 people
    posted on September 12, 2006 by TC
  25. FAVTest for a valid email address and MX records

    PHP regex email valid textmate test mx saved by 52 people
    posted on July 26, 2006 by tylerhall
  26. FAVDays ago function

    PHP time date days ago saved by 48 people
    posted on April 14, 2008 by patcullen
  27. FAVImport CSV File

    PHP data import textmate read csv excel saved by 48 people
    posted on August 7, 2006 by tylerhall
  28. FAVEmail Encoder

    PHP email javascript php html saved by 47 people
    posted on July 15, 2006 by moikirsch
  29. FAViPhone & iPod Detection

    PHP php detection mobile iphone ipod saved by 43 people
    posted on February 19, 2009 by sidisinsane
  30. FAV301 Redirect Google Safe

    PHP redirect google 301 saved by 43 people
    posted on April 16, 2007 by tylerhall
  31. FAVFile download with speed limit

    PHP file download speed saved by 41 people
    posted on March 11, 2008 by localhorst
  32. FAVDownload File

    PHP http file download save saved by 41 people
    posted on November 27, 2006 by tylerhall
  33. FAVread images of directory

    PHP image array saved by 41 people
    posted on August 6, 2006 by luman
  34. FAVGzipping your CSS

    PHP css php gzip obgzhandler saved by 39 people
    posted on February 12, 2008 by johnself
  35. FAVCalculate Age

    PHP AGE CALCULATION YEARS saved by 37 people
    posted on October 9, 2006 by sorehead
  36. FAVRegex (regular expression) to match a URL

    PHP regex url match saved by 35 people
    posted on March 21, 2007 by tylerhall
  37. FAVFile Size

    PHP file size saved by 35 people
    posted on August 3, 2006 by luman
  38. FAVEasy Excel export from PHP

    PHP php tables excel saved by 34 people
    posted on October 8, 2008 by stavelin
  39. FAVCopyright Year

    PHP year copyright saved by 34 people
    posted on January 13, 2008 by j_junyent
  40. FAVlogin

    PHP saved by 34 people
    posted on October 4, 2006 by limonn
« Prev [Page 1 of 98] Next »