[PLUG] For httpd Gurus

Vincent L. Damewood vld at damewood.us
Mon Sep 6 02:58:30 UTC 2010


On Sun, Sep 5, 2010 at 2:28 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>   That shows me the source, all right:
>
> <? phpinfo(); ?>
>
>   Is there a syntax error in there? Does it matter if it's on one line or
> three lines?
>

A little background information on this. The reason why PHP code shows
up as nothing, but looks fine under view --> source is because with
SGML and XML, items between <? and ?> are processing instructions and
thus the web browser doesn't render them. Odds are, the browser is
getting Content-Type: text/html in the HTTP headers.

-- 
Vincent L. Damewood
+1.503.926.4563
http://damewood.us/



More information about the PLUG mailing list