Anthony Ritter <mailto:[EMAIL PROTECTED]> scribbled; > > I get the following line when trying to use the crypt() function in > php ...................................... > > Fatal error: Call to undefined function: crypt() in c:\program > files\apache group\apache\htdocs\handleform1.php on line 16 > > ........................................
http://www.php.net/manual/en/function.crypt.php First part of description: "crypt() will return an encrypted string using the standard Unix DES-based encryption algorithm or alternative algorithms that may be available on the system." You need crypt on Windows, good luck. Most liekly crypt() is just disabled for Win32 port. > > However, when I replace crypt() with md5() - the following script > works fine. > [...] > MD5 is just a hash, not encryption. I'm guessing this one is built into PHP. Read yourself: http://www.php.net/manual/en/function.md5.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php