Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
864
posted 18 years ago by ryansobol
Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.
1
1132
posted 18 years ago by sorehead
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
739
posted 18 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
836
posted 18 years ago by ekobudisetiyo