Php File Problem

admin

Administrator
Staff member
Alrighty, I need help folks! Why is this not working:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$RSS = fopen("../news.rss", "w");<br /> fwrite($RSS, $Output);<br /> fclose($RSS);<!--c2--></div><!--ec2--><br /><br />Any ideas? It gives me this:<br /><br />Warning: fopen(../news.rss): failed to open stream: Permission denied in /home/omgncom/public_html/crontab/news_rss.php on line 86<br />Warning: fwrite(): supplied argument is not a valid stream resource in /home/omgncom/public_html/crontab/news_rss.php on line 87<br />Warning: fclose(): supplied argument is not a valid stream resource in /home/omgncom/public_html/crontab/news_rss.php on line 88<!--content-->
Looks like a permissioning problem....try changing the news_rss.php's permission...<br /><br />Dennis<!--content-->
news_rss.php is at 0777. The directory below it is public_html<!--content-->
n/m<br /><br />Got it fixed.<!--content-->
 
Back
Top