PDA

View Full Version : Crypt in PHP


JW
04-08-2001, 08:01 PM
I looked through some of the past posting on the subject, however didn't get the clear answer.

First off, newbie to PHP.

Next, I want to convert the crypt in my cgi to PHP

$newpassword = crypt($INPUT{'pwd'}, aa);

that is used to produce something like this for the htpassd file

Bill:aa/MdJwt7RrTg

and works well.

Any suggestions.

Thanks.

JW.

Rich
04-08-2001, 08:35 PM
http://www.php.net/manual/en/function.crypt.php

Rich

JW
04-08-2001, 09:19 PM
Thank you.[nbsp][nbsp]The manual...ahhh! ;)

JW.