RE: [PHP] A buglet?
| From: | Jason | Date: | Fri, 30 Jun 2000 21:00:03 +0000 |
| Subject: | RE: [PHP] A buglet? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4147@lists.php.net to get a copy of this message | ||
If you think about it, it kinda makes sense. PHP thinks you're done when it
gets to the ?> and sends the rest to the browser.
Jason
> -----Original Message-----
> From: David VanHorn [mailto:dvanhorn@cedar.net]
> Sent: Friday, June 30, 2000 2:47 PM
> To: jasonc@webpipe.net; php-general@lists.php.net
> Subject: RE: [PHP] A buglet?
>
>
> 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.
>
>
> --
>
> 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