Re: Trouble with fopen() || Win2k Machine

From: Date: Fri, 06 Jun 2003 13:42:01 +0000
Subject: Re: Trouble with fopen() || Win2k Machine
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150490@lists.php.net to get a copy of this message
If the file is binary, try fopen($file_path, "wb"); "Cf High" <noah@newminddesign.com> ~{P4HkO{O"PBNE~} :20030605223259.29500.qmail@pb1.pair.com... > 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 using fopen($file_path, "W+"), an error > occurs. > > I'm able to use fopen($file_path, "a+"), but I need to be able to overwrite > files; not write to the end of the file. > > Again, I'm testing on windows here.......... > > Any suggestions greatly appreciated, > > --Noah > >

« previous php.general (#150490) next »