| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2006
Posts: 6
|
help!
i'm kind of a newbie with php and i'm trying to write to a file with the fopen function but i keep getting his warning (fucntion fopen failed to open stream Permission denied ) can anyone help me out, i think it's the file permissions but i am not sure how to resolve this, i'm using php5. any help would be appreciated |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Sep 2004
Posts: 149
|
You're using linux? Try chmod the file to 777. You might want to try this function for usability: http://uk.php.net/file_put_contents |
|
![]() |