Re: #!/usr/bin/php appears in the output

From: Date: Wed, 07 Aug 2002 22:29:07 +0000
Subject: Re: #!/usr/bin/php appears in the output
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-111587@lists.php.net to get a copy of this message
On Wed, Aug 07, 2002 at 05:08:02PM -0500, Michael Geier wrote: > Having it appear at the beginning of generated output is unfortunate, but is > EXACTLY what is supposed to happen... That's not the case. The pound bang line should not be passed to output. It's only there to tell the operating system which program to use to execute the script. BUT, it will be sent out when the server is misconfigured to either send the file out w/o parsing it or without executing it as a CGI. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#111587) next »