Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



This snippet is for use with image module, a small contributed module for image handling. (Yes: in Drupal you need a /contributed/ module for this o_O. The template snippet links the images to their own node.
2 454 posted 16 years ago by berkes
13 1130 posted 16 years ago by johnself
Returns an array of values specified for an enumerated MySQL field
2 690 posted 16 years ago by johnself
7 443 posted 16 years ago by frankyfish
0 380 posted 16 years ago by drwitt
1 415 posted 16 years ago by drwitt
1 546 posted 16 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 497 posted 16 years ago by drwitt
Visit the link for instructions on how to use it.
4 455 posted 16 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 893 posted 16 years ago by pckujawa
2 618 posted 16 years ago by gdonald
0 315 posted 16 years ago by erguncaner
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 405 posted 16 years ago by assbach
0 319 posted 16 years ago by vanity
By Eduardo de la Torre.
2 599 posted 16 years ago by atinamedia
0 608 posted 16 years ago by gdonald
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 394 posted 16 years ago by Memphys
0 501 posted 16 years ago by whitetiger
0 626 posted 16 years ago by whitetiger
The names of the months, as returned by date('M', ...)
1 618 posted 16 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 507 posted 16 years ago by ryansobol
ADD 0 to 1!
0 438 posted 16 years ago by sorehead
0 1506 posted 16 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 520 posted 16 years ago by ekobudisetiyo
0 328 posted 16 years ago by collin
1 682 posted 16 years ago by gdonald