Re: PHP as a shell script

From: Date: Mon, 09 Jul 2001 18:44:10 +0000
Subject: Re: PHP as a shell script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56996@lists.php.net to get a copy of this message
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" <bleythbe@mailbox.orst.edu> To: "'Kevin Pratt'" <kevin@ouelong.com>; <php-general@lists.php.net> 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:kevin@ouelong.com] > Sent: Monday, July 09, 2001 10:02 AM > To: php-general@lists.php.net > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#56996) next »