note 13934 added to function.crypt.php

From: Date: Tue, 10 Jul 2001 21:45:18 +0000
Subject: note 13934 added to function.crypt.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15183@lists.php.net to get a copy of this message
be careful using single or double quoted salt in crypt function the example above <? print(crypt("mypassword","$1$somesalt$")."\n"); print(crypt("mypassword",'$1$somesalt$')."\n"); ?> produce that: $1$$xyAQ/aL.VY49zzXfVYUfK0 $1$somesalt$qbGIrNDo5Nyr4eASZFJLQ0 so do not use double-qouted salt in crypt function :) http://www.php.net/manual/en/function.crypt.php

« previous php.notes (#15183) next »