Jump to content

Recommended Posts

Posted

I have a cron job that runs a php file that deletes a line out of a txt file once a day

 

this is how i have it set up in the cron in set up.

 

>php -q /home/MYUSERNAME/public_html/resetcounter.php

 

i get this in my email after the cron has run..

 

 

><br />
<b>Warning</b>:  fopen(http://www.MYSITE.com/todaycounter.txt)
[<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP wrapper
does not support writeable connections. in
<b>/home/MYUSERNAME/public_html/resetcounter.php</b> on line
<b>7</b><br />

 

any ideas??

 

 

Thanks

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...