Re: File create permissions
| From: | Christian Reiniger | Date: | Wed, 04 Apr 2001 11:07:07 +0000 |
| Subject: | Re: File create permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47008@lists.php.net to get a copy of this message | ||
On Tuesday 03 April 2001 23:06, you wrote:
> I am trying to create and open a file in php4 using
>
> $fp = fopen($filename,r)
>
> php4 is compiled as an apache module. I keep gettting errors, and
> cannot create the file. The directory is chmod 777, apache is running
> as user apache.
>
> Any ideas why I can't write this file?
man fopen
Tip: look at the little "r"
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
The use of COBOL cripples the mind; its teaching should, therefore,
be regarded as a criminal offence.
- Edsger W. Dijkstra