Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

fopen permissions

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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?
bonkers
New php-forum User
New php-forum User
 
Posts: 46
Joined: Wed Mar 12, 2003 7:17 pm

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

the file needs to be writeable from the web user usually 777
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP coding => General

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron