Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 1134 posted 18 years ago by drwitt
This PHP4 function will increment a given string by a given interval. This might be useful when a string has to be unique. An optional array with "forbidden" return values may be passed. Usage:
2 1100 posted 18 years ago by drwitt
Visit the link for instructions on how to use it.
4 997 posted 18 years ago by jonhenshaw
I got most of these tips out of a great book published by O'Reilly (my favorite web-design publisher): "Programming PHP, 2nd Ed." by Lerdorf, Tatroe, and McIntyre. Another good book is "Essential PHP Security," also published by O...
2 1750 posted 18 years ago by pckujawa
2 1234 posted 18 years ago by gdonald
0 734 posted 18 years ago by erguncaner
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 970 posted 18 years ago by assbach
0 706 posted 18 years ago by vanity
By Eduardo de la Torre.
2 1144 posted 18 years ago by atinamedia
0 1167 posted 18 years ago by gdonald
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 866 posted 18 years ago by Memphys
0 1014 posted 18 years ago by whitetiger
0 1304 posted 18 years ago by whitetiger
The names of the months, as returned by date('M', ...)
1 1240 posted 18 years ago by collin
Sends a request to a supplied path for a given host. It can send either a GET or POST request and can pass parameters.
2 1107 posted 18 years ago by ryansobol
ADD 0 to 1!
0 979 posted 18 years ago by sorehead
0 2447 posted 18 years ago by sorehead
Include Path PHP 5 class. Usage: $path = new fuselogic_include_path(); $path->add('/home/ekobudi/www/fuselogic'); $path->add('/home/ekobudi/www/pear'); $path->remove('/home/ekobudi/www/old_fuselgic');
0 1063 posted 18 years ago by ekobudisetiyo
0 769 posted 18 years ago by collin
1 1348 posted 18 years ago by gdonald
2 1078 posted 18 years ago by gdonald
Use this to format a phone number for display on a page.
1 1248 posted 18 years ago by fbnewtz
1 1119 posted 18 years ago by mikeejay
0 853 posted 18 years ago by Corhol
A simple function to check if the request comes from an AJAX XMLHttpRequest. Use it if your page should behave differently when called from AJAX. Comes from jquery mailing list: http://jquery.com/discuss/2006-June/006656/
29 7763 posted 18 years ago by TC
7 1047 posted 18 years ago by smilylion
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2 1519 posted 18 years ago by dandyna
File admin.php di una galleria di immagini in php - Function.php file to include in an image gallery php script Directory structure: Gallery(main directory) _admin.php _function.php _photo(directory) __image1.gif __image2.gif
2 944 posted 18 years ago by dandyna