Re: A buglet?

From: Date: Fri, 30 Jun 2000 21:03:43 +0000
Subject: Re: A buglet?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-4145@lists.php.net to get a copy of this message
David VanHorn wrote: > > At 01:26 PM 6/30/00 -0600, Jason wrote: > >echo "</form>".include("footer.inc")."</html>"; > > Ok, but: > > > #echo ("</FORM><? > > include(\"footer.inc\")?></HTML>"); > > When this is commented out, should PHP not ignore it? > What happens is that the last tag (html off) is sent to the browser, and > the remainder of the script is dumped to the user as text. NOT good. > I willing to bet you have an unescaped quote earlier in the text that would make php read this line as "#echo (" and it never sees the # as a comment delimit but as a string # so it doesnt know to ignore it. Just a guess. VYDK

« previous php.general (#4145) next »