FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


fopen() Issue. Extremely Urgent!





polly-gone
When I try to use this in my PHP script:

Code:
$handle = fopen('/home/pollygon/domains/tigerfish.frih.net/public_html/********/****US****/******.txt', 'a+');


I get the response:

Quote:
Warning: fopen(/home/pollygon/domains/tigerfish.frih.net/public_html/********/*****US****/*******.txt) [function.fopen]: failed to open stream: Permission denied in /usr/home/pollygon/domains/tigerfish.frih.net/public_html/********/*****US****/******process.php on line 8


Why is it saying this? What I am doing wrong?

Thanks in advance,

-Nick Smile Smile Smile

P.S. I replaced select words with asterisks (*) for security purposes.
albuferque
Check your file permissions they should be 755. You can change them via FTP or some other file manager
polly-gone
Thanks, that's it. It totally slipped my mind.

-Nick Smile Smile Smile

Please close.
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.