Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
854
posted 17 years ago by drwitt
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
1411
posted 17 years ago by pckujawa
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1
748
posted 17 years ago by assbach
ГенерируетÑÑ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸ÐµÐ¼ цифр, которые пользователю предлагаетÑÑ Ð²Ð²ÐµÑти в форму Ð´Ð»Ñ ÑƒÑпешного ввода данных
1
666
posted 18 years ago by Memphys
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
858
posted 18 years ago by ryansobol
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
828
posted 18 years ago by ekobudisetiyo
A simple function to check if the request comes from an AJAX XMLHttpRequest.
Use it if your page should behave differently when called from AJAX.
Comes from jquery mailing list: http://jquery.com/discuss/2006-June/006656/
29
6970
posted 18 years ago by TC
admin panel for php scripts with a login form elaborated by a function.php page, then an upload form with canc option
2
1289
posted 18 years ago by dandyna
File admin.php di una galleria di immagini in php - Function.php file to include in an image gallery php script
Directory structure:
Gallery(main directory)
_admin.php
_function.php
_photo(directory)
__image1.gif
__image2.gif
2
746
posted 18 years ago by dandyna