Popular PHP Snippets




« Prev 1 2 3 4 5 ... 152
  1. FAV

    Anti-SQL Injection Function

    PHP saved by 1504 people posted 12 years ago by llbbl
  2. FAV

    Nice URLS PHP .htaccess

    PHP saved by 1449 people posted 12 years ago by Abe
  3. FAV

    clean user input data ( GET, POST, COOKIE )

    PHP saved by 528 people posted 12 years ago by peteypablonz
  4. FAV

    MYSQL Database Class

    PHP saved by 368 people posted 12 years ago by emuen
  5. FAV

    Simple MySQL Search Function

    PHP saved by 284 people posted 13 years ago by neogeek
  6. FAV

    FTP file upload example

    PHP saved by 270 people posted 13 years ago by hxseven
  7. FAV

    Wordpress: Sort Order by Custom Field for specific Category

    PHP saved by 200 people posted 10 years ago by hussong
  8. FAV

    Send Mail Function (HTML TXT)

    PHP saved by 200 people posted 12 years ago by llbbl
  9. FAV

    Generic PHP Class

    PHP saved by 192 people posted 12 years ago by wbowers
  10. FAV

    iPhone & iPod Detection

    PHP saved by 180 people posted 11 years ago by sidisinsane
  11. FAV

    US States and World Countries Collection

    PHP saved by 176 people posted 13 years ago by neogeek
  12. FAV

    Prevent SQL Injection

    PHP saved by 152 people posted 12 years ago by engel
  13. FAV

    Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.

    PHP saved by 144 people posted 11 years ago by X3Maverick
  14. FAV

    PHP Class: MySQL DB Class

    PHP saved by 144 people posted 11 years ago by mattkenefick
  15. FAV

    Backup your MySQL database

    PHP saved by 135 people posted 11 years ago by iTony
  16. FAV

    Simple Database Class

    PHP saved by 128 people posted 10 years ago by lajevardi
  17. FAV

    Export MySQL query results to CSV

    PHP saved by 126 people posted 12 years ago by johnself
  18. FAV

    Check for AJAX Request

    PHP saved by 116 people posted 13 years ago by TC
  19. FAV

    Export MySQL Data as CSV

    PHP saved by 112 people posted 11 years ago by mikegreen
  20. FAV

    PHP Email Validation

    PHP saved by 112 people posted 13 years ago by koncept
  21. FAV

    PHP Download/Copy File/Image

    PHP saved by 100 people posted 10 years ago by level09
  22. FAV

    Perfect cURL Function

    PHP saved by 99 people posted 8 years ago by frederichoule
  23. FAV

    How to e-mail yourself an automatic backup of your MySQL database table with PHP

    PHP saved by 99 people posted 10 years ago by fackz
  24. FAV

    check_email_address() email validator

    PHP saved by 99 people posted 12 years ago by IanLewis
  25. FAV

    Find All Links on a Page

    PHP saved by 96 people posted 6 years ago by haydin
  26. FAV

    Phone number beutifier

    PHP saved by 81 people posted 10 years ago by naz
  27. FAV

    Convert PHP Array to XML or Simple XML Object if you wish

    PHP saved by 81 people posted 12 years ago by djdykes
  28. FAV

    PHP script to make a backup copy of a MySQL table

    PHP saved by 80 people posted 9 years ago by fackz
  29. FAV

    Clean variables from SQL injections

    PHP saved by 80 people posted 10 years ago by naz
  30. FAV

    Find All The Links On A Page

    PHP saved by 80 people posted 10 years ago by Unreal
« Prev 1 2 3 4 5 ... 152