Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crypt - php to cgi.....

Status
Not open for further replies.

canajun

Programmer
Sep 28, 2002
57
CA
I have the following line in a php script which returns the proper encrypted password:

$epass = crypt($pass,substr($pass,0,2));

I am trying to to the same thing with cgi, but no matter what I do, the password in not encrypted properly.( so the output is the same as the php line..)

Any help would be appreciated!

Bob
 
Do you have good reason to believe version of you are using PHP and whatever language you are using for your CGI use that same encryption algorithms?... might not be the case. 'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top