Quote:
Originally Posted by MrPheer
i guess i'm fucked cause neither is installed. its not a file permission thing, the domain is encoded in the script, and it has to be run on the domain itself, filepath isnt working
|
Ok, I understand now, that (I assume) for security, the script was designed to only run on that specific domain....
Another option you could do is write a php script that you will call from the cron, looking something like this:
PHP Code:
#!/usr/local/bin/php -q
<?PHP
set_time_limit(0);
fopen('http://www.domain.com/whatever.php','r');
exit;
?>
This assumes of course that the servers has allow_url_fopen enabled, which it normally is by default I believe (so if you get a warning and the fopen fails could be because someone has disabled that).