Popular PHP Snippets




  1. FAV

    PHP - Lightweight Database and Rowset class, ActiveRecord style functions

    PHP saved by 75 people posted 11 years ago by dom111
  2. FAV

    PHP (RegEx) Telephone Number Validation

    PHP saved by 75 people posted 11 years ago by aristoworks
  3. FAV

    Wordpress Static HTML Template

    PHP saved by 75 people posted 12 years ago by llbbl
  4. FAV

    File download with speed limit

    PHP saved by 72 people posted 11 years ago by localhorst
  5. FAV

    check_email_address() email validator

    PHP saved by 72 people posted 12 years ago by IanLewis
  6. FAV

    PHP script to make a backup copy of a MySQL table

    PHP saved by 64 people posted 9 years ago by fackz
  7. FAV

    List all images from Directory (and sub-directory)

    PHP saved by 64 people posted 10 years ago by superuntitled
  8. FAV

    PHP Create Google Map Directions Link

    PHP saved by 64 people posted 10 years ago by iloveitaly
  9. FAV

    Extract all links from a page using Regex

    PHP saved by 64 people posted 10 years ago by gdvickery
  10. FAV

    PHP connecting and query MySQL DB

    PHP saved by 64 people posted 11 years ago by mswallace
  11. FAV

    Gzipping your CSS

    PHP saved by 64 people posted 12 years ago by johnself
  12. FAV

    MySQL Database Class

    PHP saved by 64 people posted 12 years ago by llbbl
  13. FAV

    Get HTML list of Array Keys

    PHP saved by 64 people posted 13 years ago by drwitt
  14. FAV

    Simple PHP Contact Form + jscript validation + anti-bot

    PHP saved by 63 people posted 10 years ago by jadedbat
  15. FAV

    Utility PHP function to paginate SQL queries

    PHP saved by 63 people posted 11 years ago by cburyta
  16. FAV

    Easy Excel export from PHP

    PHP saved by 60 people posted 11 years ago by stavelin
  17. FAV

    Save Any Website Image to your Server

    PHP saved by 54 people posted 9 years ago by Nettuts
  18. FAV

    Twitter @reply and urls to links

    PHP saved by 54 people posted 10 years ago by bgriffiths
  19. FAV

    Backup Your MySQL Database Using PHP

    PHP saved by 54 people posted 10 years ago by fackz
  20. FAV

    PHP Class: ImageUpload

    PHP saved by 54 people posted 11 years ago by mattkenefick
  21. FAV

    youtube url video id

    PHP saved by 50 people posted 8 years ago by KabuqueJoe
  22. FAV

    Convert associative array to object (class) in a single line

    PHP saved by 50 people posted 9 years ago by dyteq
  23. FAV

    link images to their own node.

    PHP saved by 50 people posted 12 years ago by berkes
  24. FAV

    Youtube Video Download Script

    PHP saved by 48 people posted 7 years ago by codespartan
  25. FAV

    Wordpress Login Logo

    PHP saved by 48 people posted 9 years ago by silentpro
  26. FAV

    Fetch & Save / Cache an image from a remote server using PHP

    PHP saved by 48 people posted 10 years ago by adamcoulombe
  27. FAV

    Print last query | CodeIgniter

    PHP saved by 48 people posted 10 years ago by nkm
  28. FAV

    Twitter Auto-Follow PHP Script

    PHP saved by 48 people posted 10 years ago by shakefon
  29. FAV

    Extract URLs From HTML

    PHP saved by 48 people posted 10 years ago by cshaiku
  30. FAV

    Download file from URL

    PHP saved by 48 people posted 11 years ago by benphelps