RE: [PHP] quick friday query

2001-11-16 Thread Brian Paulson
Casper, My guess would be that the folder that you are trying to write the file to doesn't have the correct permissions to allow the webserver to write to it. Try that and let me know if it works! Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Origin

RE: [PHP] quick friday query

2001-11-16 Thread caspar kennerdale
ahh write permission the folder- duh- not thinkingtoday thank alot -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] Sent: 16 November 2001 18:14 To: Caspar Kennerdale; Php-General Subject: Re: [PHP] quick friday query check under what user Apache is ru

Re: [PHP] quick friday query

2001-11-16 Thread R'twick Niceorgaw
check under what user Apache is running ( mostly nobody ). You have to give write permission on the directory where you want the files to be to that user. For security reasons, just don't give write access on your document_root, instead create a directory outside ( or within) your document_root a

Re: [PHP] quick friday query

2001-11-16 Thread James Green
On Fri, 2001-11-16 at 17:49, Caspar Kennerdale wrote: > I am writing files to my server using > > $fp = fopen("myfile.txt", "w"); > > this all works. However in the php manual it says that by using the "w" > switch that php will create the file if it doesn exist > > However this does not seem t