Is there any special switches I have to pass to the compile of php to create
the php binary?

Kevin
----- Original Message -----
From: "Ben Bleything" <[EMAIL PROTECTED]>
To: "'Kevin Pratt'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 11:03 AM
Subject: RE: [PHP] PHP as a shell script


> It's simple.  Find your php binary (or build one if you don't have
> one)... I think 'which php' will find it.
>
> Then, write a php file with '#!/path/to/php -q' at the top.  Use any one
> of the various execution methods to run your programs.  Done!
>
> I've been doing this for quite a while.  I find it easier than
> 'traditional' shell scripting =>
>
> More questions?  Ask!
> Ben
>
> -----Original Message-----
> From: Kevin Pratt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 10:02 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP as a shell script
>
> Can anyone direct me to a place where I can read up on how to use php as
> a
> shell scripting language?
>
>
> Thanks Kevin
> Ouelong Group
> www.ouelong.com
>
>
> --
> 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]

Reply via email to