I work with Windows... when I have tested it I do go through the web browser...
If I go to a strict PHP file it all works... However, the PHP book I am reading shows also embedding php in an HTML file the same way that you do javascript, is that not possible? --- Esteban Ordonez <[EMAIL PROTECTED]> wrote: > 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> --> ===== __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php