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 : +
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
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
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
This is just a guess, but remove the path (#!/usr/local/bin/php)
If you have the php.ini and (I'm assuming Apache) the httpd.conf file
configured you shouldn't need it.
I never have used it. It looks like the Perl way to script... :)
DISCLAIMER: I am by no means well-versed in this, or any othe
5 matches
Mail list logo