RE: [PHP] PHP as Scripting Language

From: Date: Wed, 07 Feb 2001 18:14:12 +0000
Subject: RE: [PHP] PHP as Scripting Language
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38582@lists.php.net to get a copy of this message
Nailed it!!! Thanks!!!! -----Original Message----- From: mstearne@entermix.com [mailto:mstearne@entermix.com] Sent: Wednesday, February 07, 2001 12:39 PM To: huggins@tls2000.com Cc: php-general@lists.php.net Subject: Re: [PHP] PHP as Scripting Language Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] | {<file> [args...]} -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -f<file> Parse <file>. Implies `-q' -v Version number -p Pretokenize a script (creates a .php3p file) -e Execute a pretokenized (.php3p) script -c<path> Look for php3.ini file in this directory -i PHP information -h This help John Huggins wrote: Well, I have compiled a php binary for use as yet another scripting languageto 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.phpContent-type: text/htmlHello WorldGreat. Now how do I get rid of the Content-type line? I have searched thedocs with little clues.Thanks for your help.*******************************************John HugginsTransmitter Location Systems, LLC14120 Parke Long Court, 103Chantilly, Virginia 20151703-227-8435703-968-8808 faxhuggins@tlsusa.comhttp://www.tls2000.com/

« previous php.general (#38582) next »