Re: PHP Version: 5.2.5.
| From: | Ashley Sheridan | Date: | Mon, 17 Oct 2011 15:02:05 +0000 |
| Subject: | Re: PHP Version: 5.2.5. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315333@lists.php.net to get a copy of this message | ||
Joseph Adenuga <jadenuga2@yahoo.com> wrote:
>
>
>Operating System: Window XP
>
>PHP Version: 5.2.5. with Apache 2.2.8
>
>My Firefox browser returns (Output) the same php script code I inserted
>in Notepad: <?php
>
> echo "<h1>Hello
>Web!</h1>";
>
>?>
>
>
>
>Please, what am I doing wrong?
How are you calling the script? If you're just trying to open the file in a browser then it
won't work, you need to call it from a web server (apache or iis). Most usually this is from
the url localhost/script.php or 127.0.0.1/script.php
Let us know how you're calling it and we can help further.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.