> 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. Without seeing the code, No! -- Niel Archer -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php