Re: "Hello world" in PHP

From: Date: Fri, 30 Apr 2010 14:45:14 +0000
Subject: Re: "Hello world" in PHP
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381773@lists.php.net to get a copy of this message
On 4/30/10 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? You probably don't have PHP enabled in your web server configuration. Try doing a view-source on that page.
Or you have a silly typo. -Rasmus

« previous php.doc (#969381773) next »