Re: using crypt function with PHP for NT
| From: | Colin McKinnon | Date: | Fri, 14 Jul 2000 13:37:12 +0000 |
| Subject: | Re: using crypt function with PHP for NT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6634@lists.php.net to get a copy of this message | ||
At 15:21 13/07/00 -0400, Robin Paul wrote:
>I am running PHP3 for NT and I am trying to use the crypt function but
>it is not being recognized by php as a valid function. I tried it with
>and without the dl call.
<snip>
>dl("php3_crypt.dll");
>$salt=3;
>
>$data='newday';
>$crypted=crypt( '$data','$salt');
>print $crypted;
Shouldn't salt be a 2 char string?
Hope you're not trying to secure something important with this encryption
algorithm! You might want to check if mcrypt is supported in the NT version.
HTH
Colin