note 10399 rejected and deleted from crypt by jmoore

From: Date: Tue, 02 Jan 2001 19:58:26 +0000
Subject: note 10399 rejected and deleted from crypt by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-9260@lists.php.net to get a copy of this message
'Got a little problem with the crypt() function. I'm still learning PHP for a project and need to use an encryption formula to crypt something. I use crypt() function to encode it and it works perfectly with the salt generator listed above, but I have a VERY big problem when I want to uncode it. It codes the code again... I'm totaly disapointed... Can someone give me an concrete example with crypt()??? Just crypt a string and uncrypt it directly... Maybe something like this : &lt;?php $tocode="Here is something to code"; $coded = crypt($tocode); $decoded = crypt(??????????????); echo "To code : ".$tocode."<br>"; echo "Coded string : ".$coded."<br>"; echo "Uncrypted coded string : ".$decoded; ?> Just fill the ?????... Thanks. Min's

« previous php.notes (#9260) next »