RE: [PHP-WIN] Using Php code in index.html

From: Date: Wed, 22 Nov 2000 16:19:50 +0000
Subject: RE: [PHP-WIN] Using Php code in index.html
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4055@lists.php.net to get a copy of this message
If the server is your own you can follow the instructions given by Mattias, however if you're talking about a situation where the files are hosted and you have no control over the servers configuration then one possible solution would be to put the following into you index.htm: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="refresh" content="0;URL=index.php"> </head> </html> That will automatically forward the user to your index.php file. -----Original Message----- From: Assil [mailto:051581324@doar.net] Sent: November 22, 2000 2:06 AM To: list Subject: [PHP-WIN] Using Php code in index.html My server does not treats index.php as the default entry page. So I must use index.htm file. Is there a way to use (and be accepted} commands like "if" in an htm file ? Assil ========== -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#4055) next »