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
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 what you
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 #
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
4 matches
Mail list logo