RE: [PHP] A buglet?
| From: | Jason | Date: | Fri, 30 Jun 2000 19:26:47 +0000 |
| Subject: | RE: [PHP] A buglet? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4116@lists.php.net to get a copy of this message | ||
echo "</form>".include("footer.inc")."</html>";
-or-
echo "</form>";
include("footer");
echo "</html>";
Jason
> -----Original Message-----
> From: David VanHorn [mailto:dvanhorn@cedar.net]
> Sent: Friday, June 30, 2000 12:48 PM
> To: php-general@lists.php.net
> Subject: [PHP] A buglet?
>
>
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net