Not a Valid File-Handle Resource
| From: | Chris Carlson | Date: | Tue, 30 Jul 2002 03:08:46 +0000 |
| Subject: | Not a Valid File-Handle Resource | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110284@lists.php.net to get a copy of this message | ||
I am trying to create a php program and am getting an error in this area
of my script:
$dataFile =
@fopen("/home/blurredv/data/".$username."Contact.txt","w");
fputs($dataFile, $line);
fclose ($dataFile);
These are the errors:
Warning: Supplied argument is not a valid File-Handle resource in
/home/blurredv/public_html/redcarbon/update.php on line 34
Warning: Supplied argument is not a valid File-Handle resource in
/home/blurredv/public_html/redcarbon/update.php on line 35
Note: My script work perfectly with different path names under Windows
NT. Do I have to do something special for Unix.
Thanks in advance,
Chris Carlson
totaldeveloper.com