Welcome To Snipplr


Everyone's Recent Snippets Tagged php



Visit the link for instructions on how to use it.
4 1431 posted 19 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 2375 posted 19 years ago by pckujawa
2 1725 posted 19 years ago by gdonald
0 1030 posted 19 years ago by erguncaner
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 1433 posted 19 years ago by assbach
0 1011 posted 19 years ago by vanity
By Eduardo de la Torre.
2 1603 posted 19 years ago by atinamedia
0 1735 posted 19 years ago by gdonald
1 1456 posted 19 years ago by Shpigford
1 1787 posted 19 years ago by markhope
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 1198 posted 19 years ago by Memphys
0 1471 posted 19 years ago by whitetiger
0 1357 posted 19 years ago by whitetiger
0 1394 posted 19 years ago by whitetiger
0 1413 posted 19 years ago by whitetiger
0 1835 posted 19 years ago by whitetiger
The names of the months, as returned by date('M', ...)
1 1696 posted 19 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 1818 posted 19 years ago by ryansobol
ADD 0 to 1!
0 1368 posted 19 years ago by sorehead
0 3000 posted 19 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 1508 posted 19 years ago by ekobudisetiyo
0 1215 posted 19 years ago by collin
1 1886 posted 19 years ago by gdonald
2 1487 posted 19 years ago by gdonald
Use this to format a phone number for display on a page.
1 1788 posted 19 years ago by fbnewtz
1 1817 posted 19 years ago by mikeejay
0 1225 posted 19 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 14223 posted 19 years ago by TC