note 1284 deleted from function.crypt by jimw

From: Date: Sun, 16 Dec 2001 20:24:07 +0000
Subject: note 1284 deleted from function.crypt by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22934@lists.php.net to get a copy of this message
for people using OS's without the crypt command available (i.e. at home on a Win32 system set up for testing purposes) the crypt command can be replaced with the following: <p> // this replaces $cryptString = <br> crypt($plainString, $salt);<br> $command = "perl -e \"print crypt('$plainString', '$salt');\"";<br> $cryptString = exec($command);<br> <p> assuming you have perl installed, of course ;) also note that this only works with the standard two-character salt DES encryption.

« previous php.notes (#22934) next »