ioannes wrote:
Further testing shows that the script fails just before the mail() line, though after a variable number of refreshes it goes through and downloads all OK. Can anyone think why there should be this occasional interaction between the mail() command line and the php script.
Check your error logs. Ask your host if they restrict the number of emails you can send.
-- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php