RE: [PHP] Not a Valid File-Handle Resource

2002-07-29 Thread Martin Towell
lto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 1:09 PM To: [EMAIL PROTECTED] Subject: [PHP] Not a Valid File-Handle Resource 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.

[PHP] Not a Valid File-Handle Resource

2002-07-29 Thread Chris Carlson
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