SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: cron and php

  1. #1
    SitePoint Guru
    Join Date
    Mar 2006
    Posts
    701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cron and php

    I use a cron php file and it reads some php files as
    Code:
    file('http://path/file.php')
    This line worked fine but for a reason today does not work, the cron php file seems to work but nothing is doing, it does not read the files even the one I give by hand.
    What may be wrong?
    Dimis

  2. #2
    SitePoint Guru
    Join Date
    Feb 2008
    Posts
    655
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What exactly are you seeing that makes you think it is this line that is the problem? Is there any output anywhere? Any error messages?

    Are any variables used to define the file that is being accessed? Are these working OK? Does the URL definitely exist? Has your webhost changed security settings to prevent you accessing remote files like this?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •