Welcome To Snipplr


Everyone's Recent PHP Snippets



7 291 posted 14 years ago by frankyfish
0 269 posted 14 years ago by drwitt
1 304 posted 14 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 334 posted 14 years ago by drwitt
Visit the link for instructions on how to use it.
4 312 posted 14 years ago by jonhenshaw
0 377 posted 14 years ago by koncept
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 613 posted 14 years ago by pckujawa
I think I got this one off php.net. I wish I could thank the author properly because this has been a real helper!
11 450 posted 14 years ago by koncept
A Singleton design pattern in PHP.
3 440 posted 14 years ago by koncept
2 413 posted 14 years ago by gdonald
4 979 posted 14 years ago by assbach
1 328 posted 14 years ago by nicolaspar
0 229 posted 14 years ago by erguncaner
0 327 posted 14 years ago by gaunab
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 289 posted 14 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 306 posted 14 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 308 posted 14 years ago by pietervp
check if email address is valid
1 348 posted 14 years ago by assbach
0 251 posted 14 years ago by vanity
By Eduardo de la Torre.
2 409 posted 15 years ago by atinamedia
menu_get_item does not return a menu ID.
2 291 posted 15 years ago by berkes
0 427 posted 15 years ago by gdonald
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 290 posted 15 years ago by Memphys