On Apr 30, 2010, at 7:35 AM, Robert P. J. Day wrote:

>  probably about to embarrass myself but i'm looking at the PHP manual page 
> "Your first PHP-enabled page", which suggests this as an initial PHP program:
> 
> <html>
> <head>
>  <title>PHP Test</title>
> </head>
> <body>
> <?php echo '<p>Hello World</p>'; ?>
> </body>
> </html>
> 
> but if i enter, then browse to that page, i get as browser output:
> 
> =====
> hi world
> 
> '; ?>
> =====
> 
>  um ... what's with those trailing characters?  did i just do something 
> hideously dumb?  misconfiguration?

Aside from the amazing mind reading ability of PHP to know you wanted 'hi' 
instead of 'hello', my guess is you do not have PHP enabled (at least, for the 
file extension you're using).

Regards,
Philip

Reply via email to