fopen permissions

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

fopen permissions

Postby 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

Postby Redcircle » Tue Jun 03, 2003 9:33 pm

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

Return to “PHP coding => General”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests