Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 1511 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 1649 posted 18 years ago by drwitt
it's an excerpt of a registration form with 3 pulldowns for birthday ( day, month, year ) check for empty vars and applying CSS classes to show error on "empty" fields. there are probably better ways, but this works for me. any suggestions welcome.
1 3646 posted 18 years ago by assbach
Visit the link for instructions on how to use it.
4 1303 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 2189 posted 18 years ago by pckujawa
2 1568 posted 18 years ago by gdonald
0 944 posted 19 years ago by erguncaner
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 1291 posted 19 years ago by assbach
0 905 posted 19 years ago by vanity
By Eduardo de la Torre.
2 1471 posted 19 years ago by atinamedia
0 1592 posted 19 years ago by gdonald
1 1344 posted 19 years ago by Shpigford
1 1625 posted 19 years ago by markhope
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 1077 posted 19 years ago by Memphys
0 1344 posted 19 years ago by whitetiger
0 1237 posted 19 years ago by whitetiger
0 1280 posted 19 years ago by whitetiger
0 1306 posted 19 years ago by whitetiger
0 1695 posted 19 years ago by whitetiger
The names of the months, as returned by date('M', ...)
1 1559 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 1676 posted 19 years ago by ryansobol
ADD 0 to 1!
0 1243 posted 19 years ago by sorehead
0 2861 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 1389 posted 19 years ago by ekobudisetiyo
0 1088 posted 19 years ago by collin
1 1733 posted 19 years ago by gdonald
2 1367 posted 19 years ago by gdonald
Use this to format a phone number for display on a page.
1 1643 posted 19 years ago by fbnewtz