View Single Post
Old 10-20-2005, 08:10 PM  
Mr Pheer
So Fucking unBanned
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Las Vegas
Posts: 21,757
Quote:
Originally Posted by Varius
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).

That worked!

thanks man... you rock!!
__________________
WebIgniter AI
Multitime 7-figure producer and 29 year Niche Industry Veteran
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote