Posted by Henk Oegema on 10/11/07 06:30
>> J.O. Aho wrote:
>>
> php somescript.php = CURL(http://localhost/uptime/uptime.php)
>
> You can do the following
>
> --- yourscript ---
> #!/usr/bin/php
> <?PHP
> echo "My script\n";
> ?>
> --- eof ---
>
> chmod 755 yourscript
>
> $ ./yourscript
> My script
> $
>
> And now you don't use the php to execute the script, it's all built in.
> See to that the path is correct where php binary is located-
>
Thanks Aho :)
Rgds
Henk
[Back to original message]
|