Date: 12/31/98
- Next message: Rasmus Lerdorf: "Re: [PHP3] PHP3 - some basic questions before comitting..."
- Previous message: Peter van Dijk: "Re: [PHP3] PHP3 - some basic questions before comitting..."
- Next in thread: Colin Viebrock: "RE: [PHP3] Crypt on different OS's"
- Reply: Colin Viebrock: "RE: [PHP3] Crypt on different OS's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm moving my PHP/mySQL site to a new host running a different OS than the
current host.
I have stored user passwords in a mySQL table after crypting it with the PHP
crypt() function (with a two-letter salt).
The problem is that under the new host the crypt() function returns a
different result - and that I'm now unable to verify passwords...
The old host runs freeBSD 2.1.7.1, the new host SunOs 5.6 (Sparc).
- Is there some way to simulate the crypt() function as used by freeBSD on
the SunOS ?
- How can I avoid running into the same sort of problem the next time I
switch hosts :-)
Should I use the mySQL PASSWORD() function ? Or does that have the same
problems ?
Thanks !
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP3] PHP3 - some basic questions before comitting..."
- Previous message: Peter van Dijk: "Re: [PHP3] PHP3 - some basic questions before comitting..."
- Next in thread: Colin Viebrock: "RE: [PHP3] Crypt on different OS's"
- Reply: Colin Viebrock: "RE: [PHP3] Crypt on different OS's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

