Justin French wrote: > I'm getting the following error using 4.1.1: > "Fatal error: Call to undefined function: mcrypt_create_iv() in > /usr/local/apache/htdocs/tests/enc.php on line 3" > > Which is confusing, given that the manual says mcrypt_create_iv() is > available in PHP 4.
Looks like your ISP doesn't have mcrypt support. What does phpinfo() show? General encryption advice -- generate your key using urandom and save it to your key file. It will be much more secure than anything you can think up for a good key. HTH, Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php