PHP as Scripting Language

From: Date: Wed, 07 Feb 2001 17:10:46 +0000
Subject: PHP as Scripting Language
Groups: php.general 
Request: Send a blank email to php-general+get-38569@lists.php.net to get a copy of this message
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 # ./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. Thanks for your help. ******************************************* John Huggins Transmitter Location Systems, LLC 14120 Parke Long Court, 103 Chantilly, Virginia 20151 703-227-8435 703-968-8808 fax huggins@tlsusa.com http://www.tls2000.com/

« previous php.general (#38569) next »