Welcome To Snipplr


Everyone's Recent PHP Snippets



1 516 posted 17 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 679 posted 17 years ago by drwitt
Visit the link for instructions on how to use it.
4 601 posted 17 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 1180 posted 17 years ago by pckujawa
2 791 posted 17 years ago by gdonald
4 1468 posted 17 years ago by assbach
1 586 posted 17 years ago by nicolaspar
0 398 posted 17 years ago by erguncaner
0 608 posted 17 years ago by gaunab
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 529 posted 17 years ago by assbach
This snippet is for use with image_attach, a small contributed module that uses image module to create nice thumbs in any node type. The template snippet makes the images show up larger in the body node, and instead of linking to itself, it links t...
2 546 posted 17 years ago by berkes
This is an example of how to use the articleHandler.class.php , this class can be found @ pietervp.com -> downloads
1 581 posted 17 years ago by pietervp
check if email address is valid
1 647 posted 17 years ago by assbach
0 394 posted 17 years ago by vanity
By Eduardo de la Torre.
2 792 posted 17 years ago by atinamedia
menu_get_item does not return a menu ID.
2 522 posted 17 years ago by berkes
0 758 posted 17 years ago by gdonald
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 508 posted 17 years ago by Memphys
3 733 posted 17 years ago by yonekawa
The names of the months, as returned by date('M', ...)
1 798 posted 17 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 674 posted 17 years ago by ryansobol
deliciousにポストするサンプル
0 438 posted 17 years ago by jugyo
Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.
1 927 posted 17 years ago by sorehead