Re: RE: [PHP] Updated (appending) a file

From: Date: Tue, 02 Jul 2002 06:13:40 +0000
Subject: Re: RE: [PHP] Updated (appending) a file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104838@lists.php.net to get a copy of this message
Permission denied Yep. Crap. If I let PHP create the file (delete the files as they exist now), that will give it permission (because it will have made them), right? Thanks a lot for all the help. "Martin Towell" <martin.towell@world.net> wrote in message news:6416776FCC55D511BC4E0090274EFEF508A58B@EXCHANGE... > This should work > > error_reporting(E_ALL); > > but be prepared for all dem warnings ! :) > > > > BTW: I get an undeliverable mail to your email address when I "reply to all" > :( > > -----Original Message----- > From: Chris Earle [mailto:chris@earleweb.com] > Sent: Tuesday, July 02, 2002 4:04 PM > To: php-general@lists.php.net > Subject: Re: RE: [PHP] Updated (appending) a file > > > The server has error reporting turned off (can I change this even though I'm > not there?)... > > I cannot do it with the file in my base folder either. > > "Martin Towell" <martin.towell@world.net> wrote in message > news:6416776FCC55D511BC4E0090274EFEF508A58A@EXCHANGE... > > maybe a permissions thing? > > > > do you get any errors back? if so, what error is it? > > > > try appending to a file in the same directory as index.php and see how > that > > goes. > > > > -----Original Message----- > > From: Chris Earle [mailto:chris@earleweb.com] > > Sent: Tuesday, July 02, 2002 3:54 PM > > To: php-general@lists.php.net > > Subject: RE: RE: [PHP] Updated (appending) a file > > > > More to the point: if that relative path doesn't work, and the path is > right > > and the file does exist, what does that mean? > > > > -- if the php file is: mydomain.com/index.php > > -- and the data file is: mydomain.com/files/Names.txt > > -- > > -- then the relative path is not "\\files\\Names.txt" , it's > > -- "files\\Names.txt" > > -- > > -- HTH > > -- Martin > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#104838) next »