On Oct 27, 2011, at 5:14 PM, Daniel Brown wrote:
> On Thu, Oct 27, 2011 at 15:25, Tedd Sperling <tedd.sperl...@gmail.com> wrote:
>> -snip my confusion -
> 
>    No need to review the code.  The first hunch I had proved correct.
> PHP opens with a less-than (left carat, or 'less-than') symbol, as do
> HTML tags.  As a result, the browser interprets both as tags and tries
> to parse them.
> 
> -snip-
> 
> -- 
> </Daniel P. Brown>

Daniel:

But of course. I never considered that the "<" in both the HTML (<!doctype 
html>) and the PHP (<?php) would cause the browser to wig-out and not display 
the contents of the file -- good catch!

I knew there was something wrong -- I just didn't realize that the Browser was 
trying to think for me. That'll teach me to use a Browser as a hex-viewer.

Thanks,

tedd

_____________________
t...@sperling.com
http://sperling.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to