fopen permissions

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 45
Joined: Wed Mar 12, 2003 7:17 pm

Tue Jun 03, 2003 7:25 pm

I get this error when I try to open up a file, that exists, with w+ acccess using fopen.

Code: Select all

Warning: fopen(count) [function.fopen]: failed to create stream: Permission denied in /home/cso/webspace/count.php on line 3

What permissions are necessary on the file?

User avatar
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Tue Jun 03, 2003 9:33 pm

the file needs to be writeable from the web user usually 777

Post Reply