[PHP] problems with fopen

2003-02-03 Thread Jason Jacobs
Afternoon all. I've been trying to write to a text file for a while. I opened it thusly: $file = fopen($filename, w+); to read it and then write to it after I modified what goes in it. The problem is it won't write. It sets the pointer to the beginning and erases everything, but doesn't

Re: [PHP] problems with fopen

2003-02-03 Thread Ernest E Vogelsinger
Simply try $hf = fopen($filename, w); - Original Message - From: Jason Jacobs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:30 PM Subject: [PHP] problems with fopen Afternoon all. I've been trying to write to a text file for a while. I opened it thusly

[PHP] Problems With Fopen

2001-02-02 Thread Joe
I cannot open files outside of the directory which my script is in. I'm not sure how to fix this on my server. It is a Windows NT Netscape server. If anyone knows how to fix this help would be appreciated. Here is the error code that I keep getting. Warning:

RE: [PHP] Problems With Fopen

2001-02-02 Thread Brandon Orther
ww.webintellects.com -Original Message- From: Joe [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 10:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Problems With Fopen I cannot open files outside of the directory which my script is in. I'm