note 14071 added to function.crypt.php
| From: | joao dot correia at valnetsado dot pt | Date: | Mon, 16 Jul 2001 10:25:58 +0000 |
| Subject: | note 14071 added to function.crypt.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15422@lists.php.net to get a copy of this message | ||
You can always use the double quoted salt if you use escaping chars.
If you use:
print( crypt( "mypassword", "\$1\$somesalt\$" )."\n" );
print( crypt( "mypassword", '$1$somesalt$' )."\n" );
you shpould have the same result. :P
http://www.php.net/manual/en/function.crypt.php