-----Original Message----- From: John Taylor-Johnston [mailto:eslcafe@xxxxxxxxxxxxxx] Sent: Saturday, March 19, 2005 7:03 AM To: php-general@xxxxxxxxxxxxx Subject: fopen > What can I add to get more info from the die? Do I <have> to specify a > pathname in $defaultfile? Start by _removing_ @ to get warnings? $defaultfile = "ffmail.txt"; #default file to write to @ $results = fopen($datafilename, "a"); #open file and supress errors You set $defaultfile, but tries to open $datafilename? -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/systemdeveloper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php