Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 104 105 106 107 108 ... 147
Set up and array of filenames, which correspond to the file names of the images you are trying to randomize.
0 1626 posted 16 years ago by paulgrenwood
0 1883 posted 16 years ago by petrafull
0 1532 posted 16 years ago by unravelme1
I rewrote [this snippet](http://snipplr.com/view/15402/php-password-generator/). Usage: $password1 = new Password; $password2 = new Password; echo '<p>' . $password1->generate() . '</p>'; echo '<p>' . $password2->generate(array('leng...
1 1956 posted 16 years ago by AzizLight
This script will allow you to choose which site you want to login to (Choose from WHMCS, TCAdmin, Cpanel) You need to edit the action= in each form to the correct address of your website.
1 1460 posted 16 years ago by jcroom
0 1444 posted 16 years ago by gabbo
0 1502 posted 16 years ago by gabbo
This code will loop through any posted variables and print the name of the field as well as the value of the field.
0 1502 posted 16 years ago by BFTrick
Not particularly novel, but quite clean. Allows you to put images in any location on the server and saves having to generate thumbnails at upload time. The URL to this file should be: `<filename.php>/<request>/<path>` Valid request types:...
1 1544 posted 16 years ago by Kit
without scandir() function
0 1450 posted 16 years ago by stancox
Takes a number in bytes and returns the number in (KB,MB,GB) for human-readable format.
1 1534 posted 16 years ago by stancox
This works fine, except that it repeats a lot of code
0 1222 posted 16 years ago by squarepegsys
This line can be used to refresh the current page. Submitted by philsturgeon on #codeigniter in the Freenode IRC server.
3 1756 posted 16 years ago by AzizLight
0 1369 posted 16 years ago by metoikos
0 1777 posted 16 years ago by Zwendel
Easily copy a folder to a new destination.
0 1640 posted 16 years ago by dmautz1
Very easy to use and helps keep browsers from jumbling your email up.
0 1475 posted 16 years ago by dmautz1
Generate random plain and md5 password. Depend on Password Class
1 1364 posted 16 years ago by FazzyX
magento meta keywords in list view output template/catalog/category/view.phtml:
0 1483 posted 16 years ago by nico65
by m13579m
0 1742 posted 16 years ago by irm
1 ... 104 105 106 107 108 ... 147