Welcome To Snipplr


Everyone's Recent Snippets Tagged php



0 61 posted 13 years ago by drwitt
1 89 posted 13 years ago by drwitt
1 111 posted 13 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 85 posted 13 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 167 posted 13 years ago by assbach
Visit the link for instructions on how to use it.
4 90 posted 13 years ago by jonhenshaw
0 103 posted 13 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 199 posted 13 years ago by pckujawa
6 175 posted 13 years ago by koncept
A Singleton design pattern in PHP.
3 125 posted 13 years ago by koncept
2 124 posted 13 years ago by gdonald
0 46 posted 13 years ago by erguncaner
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1 81 posted 13 years ago by assbach
0 60 posted 13 years ago by vanity
By Eduardo de la Torre.
2 110 posted 13 years ago by atinamedia
0 125 posted 13 years ago by gdonald
1 91 posted 13 years ago by Shpigford
1 109 posted 13 years ago by markhope
Генерируется картинка с изображением цифр, которые пользователю предлагается ввести в форму для успешного ввода данных
1 95 posted 13 years ago by Memphys
0 82 posted 13 years ago by whitetiger
0 75 posted 13 years ago by whitetiger
0 81 posted 13 years ago by whitetiger
0 108 posted 13 years ago by whitetiger
0 126 posted 13 years ago by whitetiger
The names of the months, as returned by date('M', ...)
1 118 posted 13 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 83 posted 13 years ago by ryansobol
ADD 0 to 1!
0 84 posted 13 years ago by sorehead