Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2281
posted 19 years ago by pckujawa
Building a SELECT with conditional WHERE parts, given from form-get parameters.
1
1365
posted 19 years ago by assbach
ГенерируетÑÑ ÐºÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° Ñ Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸ÐµÐ¼ цифр, которые пользователю предлагаетÑÑ Ð²Ð²ÐµÑти в форму Ð´Ð»Ñ ÑƒÑпешного ввода данных
1
1144
posted 19 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
1748
posted 19 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
1454
posted 19 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
13232
posted 19 years ago by TC