View Single Post
Old 10-20-2005, 07:54 PM  
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
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).
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote