Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1708
posted 16 years ago by AzizLight
Delete All Foreign Keys in a database;
(make sure you USE keyword)
2
1215
posted 16 years ago by marcocs
Useful when logged in the server via ssh.
In Leopard, the file would be /Library/Preferences/com.apple.ScreenSharing.launchd
0
1698
posted 16 years ago by alvarezrilla
r : recursive
v: verbose
--progress : shows progress with percentage
0
1402
posted 16 years ago by godstroke
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
1252
posted 16 years ago by jcroom
Tested with [ipotpal.bgurl.org](http://ipotpal.bgurl.org/ "ипотпал")
0
1242
posted 16 years ago by jommy
Video For Everybody is a great way to use the `<video>` tag with fallbacks for QuickTime or Flash for users with old browsers, but it requires that every video be encoded twice (once for the MP4 and once for the OGG).
This code (which requires Moo...
0
1412
posted 16 years ago by Kit
Befindet sich die aktuell angezeigte Seite dabei unter den aufgelisteten Seiten, dann erhält dieser Listenpunkt die Klasse class="current_page_item":
0
1516
posted 16 years ago by gabbo