Jump to content

Php File Problem


DarqFlare
 Share

Recommended Posts

Alrighty, I need help folks! Why is this not working:

 

>$RSS = fopen("../news.rss", "w");
fwrite($RSS, $Output);
fclose($RSS);

 

Any ideas? It gives me this:

 

Warning: fopen(../news.rss): failed to open stream: Permission denied in /home/omgncom/public_html/crontab/news_rss.php on line 86

Warning: fwrite(): supplied argument is not a valid stream resource in /home/omgncom/public_html/crontab/news_rss.php on line 87

Warning: fclose(): supplied argument is not a valid stream resource in /home/omgncom/public_html/crontab/news_rss.php on line 88

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...