Re: [PHP] Re: Trouble with fopen() || Win2k Machine

2003-06-06 Thread CF High
Ah, well that's a useful bit of info ;--) Didn't run across that in php.net's description of fopen() Thanks, Jason -- I'll switch to relative paths.. --Noah "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 07 June 2003 03:25, CF High wrote: > > >

Re: [PHP] Re: Trouble with fopen() || Win2k Machine

2003-06-06 Thread Jason Wong
On Saturday 07 June 2003 03:25, CF High wrote: > Still no luck though with the file path on windows; e.g. file path is > http://192.168.1.2/dev_files/drop_down.js > > So, when I open the file for writing: $fw = fopen($file_path, "wb") an > error results ("can't open file") > You can't open an HTT

[PHP] Re: Trouble with fopen() || Win2k Machine

2003-06-06 Thread CF High
Thanks for the suggestion. Still no luck though with the file path on windows; e.g. file path is http://192.168.1.2/dev_files/drop_down.js So, when I open the file for writing: $fw = fopen($file_path, "wb") an error results ("can't open file") Looks like I need to escape out of slashes within th

[PHP] Re: Trouble with fopen() || Win2k Machine

2003-06-06 Thread Ptker
If the file is binary, try fopen($file_path, "wb"); "Cf High" <[EMAIL PROTECTED]> ~{P4HkO{O"PBNE~} :[EMAIL PROTECTED] > Hey all. > > Quick question here that's driving me up the wall: > > Using fopen(), I'm easily able to open files for reading; however, when I > attempt to open files for writing u