Um - yeah - sorta depends if the script has write access to the directory too :) but try and see, I guess is the best option ...
-----Original Message----- From: Chris Earle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:14 PM To: [EMAIL PROTECTED] Subject: Re: RE: [PHP] Updated (appending) a file 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" <[EMAIL PROTECTED]> wrote in message 6416776FCC55D511BC4E0090274EFEF508A58B@EXCHANGE">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:[EMAIL PROTECTED]] > Sent: Tuesday, July 02, 2002 4:04 PM > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > 6416776FCC55D511BC4E0090274EFEF508A58A@EXCHANGE">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:[EMAIL PROTECTED]] > > Sent: Tuesday, July 02, 2002 3:54 PM > > To: [EMAIL PROTECTED] > > 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