fopen permissions

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

fopen permissions

Post by bonkers » 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: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Post by Redcircle » Tue Jun 03, 2003 9:33 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests