Under linux you can use lynx to run php scripts under the shell.
e.g.
Assuming lynx is setup correctly
lynx -source
your.server.com/devel/newtrlkit/test.php?param=whatever>test.txt
-Stewart
-----Original Message-----
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: 03 April 2001 17:02
To: PHP User Group
Subject: RE: [PHP] Shell Programming with PHP, but where is the PHP?
Hello,
It is installed as a module, Is there a way I can keep it installed as a
module but install it so I can use it to shell script also?
Thanks Ahead Of Time
Brandon
-----Original Message-----
From: Renze Munnik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Shell Programming with PHP, but where is the PHP?
Brandon Orther wrote:
>
> Hello,
>
> I am looking for the path to my php so I can put it on the top of
my php
> script. Like this: #!/path/to/php
>
> All I can find that looks like this is libphp4.so Does anyone know where
to
> look for the binary?
>
> Thanks
> Brandon
>
> --
> 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]
Try locate and/or whereis.
And you should make sure PHP isn't installed as module.
--
* R&zE:
***************************
** Renze Munnik
**
** E: [EMAIL PROTECTED]
** M: +31 6 218 111 43
***************************
--
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]
--
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]