A buglet?

From: Date: Fri, 30 Jun 2000 18:48:03 +0000
Subject: A buglet?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4100@lists.php.net to get a copy of this message
This little bit of PHP seems to interpret wrongly. (Or I made a mistake) #echo ("</FORM><? include(\"footer.inc\")?></HTML>"); What this is, is the bottom of an error exit. It is commented out at the moment (important!) When not commented, it should send end of form, the footer html, and the end of html tag. But, <EVEN WHEN COMMENTED OUT> the "?>" is being interpreted by PHP as "end of php" and it then spews 20k of the following php code directly to the user! I may not have escaped everything properly, but when I comment something out, I damn well expect the interpreter to ignore it! -- www.SpamWhack.com A pre-emptive strike against spam A tornado is a lady whose skirts you do NOT want to look up! Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

« previous php.general (#4100) next »