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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to