Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This function first checks to see if PHP is set to automagically quote stuff. If it is, we first strip pre-quoted stuff, then (assuming our text isn't numeric), we properly quote everything.
A good bit of room for improvement here, but at the very l...
1
579
posted 17 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
659
posted 17 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
5462
posted 17 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
1065
posted 17 years ago by dandyna