Scott,

I think you should save your file in yourweb directory and then
navigate with your web browser. I have it like this:
web directory:  /var/www/html/index.htm
web browser address:  http://localhost/index.php
and then start up the web server (httpd).
Do you work with Windows or Linux?

El Lun 06 Ene 2003 23:43, Scott De Leeuw escribió:
> When I put this code in and save the file as .htm, it gives a
> blank screen and the php script is shown in the source...  I
> think something isn't set up right...
>
> <!-- <HTML>
>
> <HEAD>
> <TITLE></TITLE>
> </HEAD>
>
> <BODY BGCOLOR="white">
>
>
> <?php
>       $remote_address = getenv("REMOTE_ADDR");
>       echo "<p>Your IP address is $remote_address.</p>";
>       echo "<p>Tread lightly while you are here.</p>";
>       echo "<P></p>";
>       echo "<p>'I never did give anybody hell. I just told the truth,
> and they thought it was hell.'</p>";
>       echo "<p>                               -- Harry S Truman</p>";
>
> ?>
>
>
> </BODY>
>
>
> </HTML> -->

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

Reply via email to