Either recompile PHP as a cgi OR use lynx to do it so:
lynx -dump http://www.mysite.com/myscript.php
You can then collect the output in the usual ways.
M
> ----------
> From: AJDIN BRANDIC[SMTP:[EMAIL PROTECTED]]
> Sent: 21 June 2001 09:07
> To: [EMAIL PROTECTED]
> Subject: [PHP] php as cron
>
> Hi
>
> I have PHP installed as Apache module but I want to run a cron job. I
> have .php script that works OK when executed through browser but is there
> any way I could execute it through a cron job.
>
> Ajdin
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]