Re: Why i can't write to remote file ?

From: Date: Sun, 20 May 2001 00:38:00 +0000
Subject: Re: Why i can't write to remote file ?
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-7762@lists.php.net to get a copy of this message
> Hi Darren, > > i have tried omitting http, so the line 11 becomes : > > $fp = fopen("c:/webshare/wwwwroot/examples/datafile.txt","w"); > > Is does not still work, and when i run it i have the warning message: > > ------------------------------------------------------------------ > Total cost of the neckties 90 > Warning: fopen("c:/webshare/wwwwroot/examples/datafile.txt","w") - No such > file or directory in c:\webshare\wwwroot\examples\calculate.php on line 11 > > Unable to open remote file for writing. > ------------------------------------------------------------------ > > > I don't understand where is the error ? > > Thank you in advance > > ah now I see. Try removing the extra W from the path making wwwwroot to wwwroot Best of luck Darren

« previous php.windows (#7762) next »