Popular PHP Snippets




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

    Anti-SQL Injection Function

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

    Nice URLS PHP .htaccess

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

    clean user input data ( GET, POST, COOKIE )

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

    MYSQL Database Class

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

    Simple MySQL Search Function

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

    FTP file upload example

    PHP saved by 252 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

    Generic PHP Class

    PHP saved by 192 people posted 11 years ago by wbowers
  9. FAV

    US States and World Countries Collection

    PHP saved by 164 people posted 13 years ago by neogeek
  10. FAV

    iPhone & iPod Detection

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

    Send Mail Function (HTML TXT)

    PHP saved by 150 people posted 12 years ago by llbbl
  12. 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
  13. FAV

    PHP Class: MySQL DB Class

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

    Prevent SQL Injection

    PHP saved by 136 people posted 12 years ago by engel
  15. FAV

    Simple Database Class

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

    Backup your MySQL database

    PHP saved by 126 people posted 11 years ago by iTony
  17. FAV

    Export MySQL query results to CSV

    PHP saved by 117 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

    PHP Download/Copy File/Image

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

    Perfect cURL Function

    PHP saved by 99 people posted 8 years ago by frederichoule
  21. 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
  22. FAV

    Find All Links on a Page

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

    Export MySQL Data as CSV

    PHP saved by 96 people posted 11 years ago by mikegreen
  24. FAV

    PHP Email Validation

    PHP saved by 96 people posted 13 years ago by koncept
  25. FAV

    Phone number beutifier

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

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

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

    Clean variables from SQL injections

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

    Find All The Links On A Page

    PHP saved by 80 people posted 10 years ago by Unreal
  29. FAV

    Php Browser Detection Class

    PHP saved by 75 people posted 9 years ago by vagrantradio
  30. FAV

    Dynamic Navigation From Database Table Names

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