Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Hidayet Dogan
try #/usr/local/bin/php -q Hidayet Dogan [EMAIL PROTECTED] Pleksus Bilisim Teknolojileri A.S. -- caldiran sok. 14/6 06420 kolej ankara * www.pleksus.com.tr tel : +

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Michael Dearman
John Huggins wrote: > > Well, I have compiled a php binary for use as yet another scripting language > to work along side AWK, Perl, Sh, etc. > > It works too. I have this file... > > #!/usr/local/bin/php > print("Hello World\n"); > ?> > > I run it and get.. > > host:~/projects/PHPScripts

RE: [PHP] PHP as Scripting Language

2001-02-07 Thread John Huggins
Nailed it!!! Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 12:39 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP as Scripting Language Usage: php [-q] [-h] [-s] [-v] [-i] [-f

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Frank Joerdens
On Wed, Feb 07, 2001 at 12:10:46PM -0500, John Huggins wrote: [ . . . ] > > host:~/projects/PHPScripts # ./test.php > Content-type: text/html > > Hello World > > > > Great. Now how do I get rid of the Content-type line? I have searched the > docs with little clues. #!/usr/local/bin/php -q Is w

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Shane McBride
is, or any other, topic - Shane - Original Message - From: "John Huggins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 12:10 PM Subject: [PHP] PHP as Scripting Language > > Well, I have compiled a php binary for use as ye

[PHP] PHP as Scripting Language

2001-02-07 Thread John Huggins
Well, I have compiled a php binary for use as yet another scripting language to work along side AWK, Perl, Sh, etc. It works too. I have this file... #!/usr/local/bin/php I run it and get.. host:~/projects/PHPScripts # ./test.php Content-type: text/html Hello World Great. Now how