| 
 Posted by Steve on 09/15/05 10:59 
> Steve so you want me to create a script that open's my other script and 
> execute it right??? 
 
That might be one way round your problem. Going back to what you are 
trying to do - execute a PHP script via cron - the limitations of wget 
and lynx prevent you from executing it directly. Assuming you can't 
remodel your script to avoid the redirection, instead you have an 
intermediary script call the main script from cron: 
 
   wget http://www.example.com/myscriptcaller.php 
 
myscriptcaller.php is the simple fopen()/fread()/fclose() script from 
earlier in this thread, set to call your main script. 
 
--- 
Steve
 
[Back to original message] 
 |