Popular PHP Snippets




  1. FAV

    Create a Basic Web Service Using PHP, MySQL, XML, and JSON

    PHP saved by 32 people posted 8 years ago by mb2o
  2. FAV

    generate XML from Object... AND... XML from Array... AND XML from Array

    PHP saved by 32 people posted 9 years ago by flashmac
  3. FAV

    Only allow AJAX for a HTTP Request

    PHP saved by 32 people posted 9 years ago by sb_01
  4. FAV

    php-log - Process log files with PHP

    PHP saved by 32 people posted 9 years ago by dom111
  5. FAV

    MySQLi convert a result set to CSV or to JSON

    PHP saved by 32 people posted 10 years ago by ginoplusio
  6. FAV

    Enable WordPress body class function in Thesis Theme

    PHP saved by 32 people posted 10 years ago by joelhaus
  7. FAV

    CodeIgniter: Redirect Internet Explorer Visitors

    PHP saved by 32 people posted 10 years ago by traeregan
  8. FAV

    Sanitize a PHP string for input into a Database

    PHP saved by 32 people posted 10 years ago by adamcoulombe
  9. FAV

    Wordpress: Does a page have children?

    PHP saved by 32 people posted 10 years ago by cyberhobo
  10. FAV

    Custom Fields Template in WP - corresponding code snippets

    PHP saved by 32 people posted 10 years ago by kstetson
  11. FAV

    Codeigniter Model

    PHP saved by 32 people posted 10 years ago by michaelfox
  12. FAV

    Regex Text Syntax Parser

    PHP saved by 32 people posted 10 years ago by caioariede
  13. FAV

    Backup MySQL Databas with PHP

    PHP saved by 32 people posted 10 years ago by iTony
  14. FAV

    JSON To SQL Generator (JQUERY)

    PHP saved by 32 people posted 10 years ago by jonniespratley
  15. FAV

    Secure e-mail Link

    PHP saved by 32 people posted 11 years ago by iloveitaly
  16. FAV

    Wordpress query post for a specific page

    PHP saved by 32 people posted 11 years ago by davebowker
  17. FAV

    Secure, Advanced, Better, Faster... function for remove/strip tags(Anti-XSS).

    PHP saved by 32 people posted 11 years ago by YPY
  18. FAV

    PHP Class: Paging

    PHP saved by 32 people posted 11 years ago by mattkenefick
  19. FAV

    Widget Best Practice: Using Functions

    PHP saved by 32 people posted 11 years ago by webStruck_
  20. FAV

    Make string into post slug

    PHP saved by 32 people posted 12 years ago by evanwalsh
  21. FAV

    Put classes around your body

    PHP saved by 32 people posted 12 years ago by berkes
  22. FAV

    Gestionale per utente php con form di login, logout, upload e canc files

    PHP saved by 32 people posted 13 years ago by dandyna
  23. FAV

    Read a directory and export pretty directory list

    PHP saved by 32 people posted 13 years ago by drewrockshard
  24. FAV

    Geocoding, from address to coordinates lat long

    PHP saved by 28 people posted 9 years ago by mmstudio
  25. FAV

    Required CSS for wordpress

    PHP saved by 28 people posted 10 years ago by Ben
  26. FAV

    CodeIgniter Automatic Base URL Configuration

    PHP saved by 28 people posted 10 years ago by DrewDouglass
  27. FAV

    Remove Unwanted Stylesheets from Drupal 6

    PHP saved by 28 people posted 11 years ago by troynt
  28. FAV

    read XML with PHP

    PHP saved by 28 people posted 11 years ago by antpaw
  29. FAV

    php header redirect

    PHP saved by 28 people posted 13 years ago by gdonald
  30. FAV

    sanitizeTags, version 1.0 (Daniel Mota aka IceBeat)

    PHP saved by 28 people posted 13 years ago by alvaroisorna