On Thursday 11 September 2003 16:29, James Hatridge wrote:
Thanks for your help, but it seems that I'm beating my head against the wall. I got to thinking about it. The problem seems to be that the script does not do anything to PHP or HTML. All it does is updates the db and quits. Anyway I have been looking at other ways to do this. I can set up a cron job to do the script once a day or so, or put it in the boot.local and do it each time I start the system in the morning. One or the other should work.
The fact that it does nothing in PHP or HTML should not matter. But cron may indeed be a better approach. The one thing I like about a PHP script of this type is that you can then trigger it from another script, over the Net if desired, by running wget on the PHP page. -- Best wishes Kevin Donnelly www.kyfieithu.co.uk - Meddalwedd Rydd yn Gymraeg