thomaswprice80
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
Hey, I love your site, but I've got a small problem. I've got a php script that needs to access an image from another website. It works fine when I run it manually by navigating to it, but I've tried to set up to run as a cron job, and I get this error in the log: "[27-Jan-2011 16:20:01] PHP Warning: file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: URL file-access is disabled in the server configuration in /home/thomaswp/public_html/cron.php on line 10". Do you have a different configuration for running php scripts though cron? Because it works fine when I run it manually. Any suggestions?