At the top, put:
#!/path/to/php -q
The reason itsgiving you those errors is because it doesnt no what
interpreter to use for the script. Of course, your going to have to
have the standalone binary of php built, not the apache module.
On a side note, does anyone know if you can get php to bui
I think your troubles are that you need a
#!/path/to/php
or you can start it with
php -f file.php
Julia
Quoting Splashy ([EMAIL PROTECTED]):
> Hi,
>
> Please find script below and hopefully tell me why when I run it over the
> web it works perfectly but when I run it using cron or in a telnet
try using full paths to your files.
> -Original Message-
> From: Splashy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] HELP problems running PHP4 script in CRON
>
>
> Hi,
>
> Please find script below and hopefully tell me wh
3 matches
Mail list logo