Re[2]: [PHP] help needed with crypt()
| From: | Tom Rogers | Date: | Tue, 03 Dec 2002 15:37:54 +0000 |
| Subject: | Re[2]: [PHP] help needed with crypt() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126872@lists.php.net to get a copy of this message | ||
Hi,
Wednesday, December 4, 2002, 1:27:49 AM, you wrote:
cyc> Hi
cyc> I made some changes to this script but still it is
cyc> not working
Try using the whole password as the salt like this
if(crypt(trim($pass),$arr[1]) == $arr[1])
Or are you still only getting -1 returned ?
--
regards,
Tom