Re: better description

From: Date: Tue, 07 Jan 2003 05:55:58 +0000
Subject: Re: better description
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-9597@lists.php.net to get a copy of this message
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> -->

« previous php.install (#9597) next »