RE: fopen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux