Re: PHP in HTML

From: Date: Fri, 17 May 2002 05:33:24 +0000
Subject: Re: PHP in HTML
Groups: php.general 
Request: Send a blank email to php-general+get-98007@lists.php.net to get a copy of this message
yeah, just find in your web server where to tell it what kind of files to send through php. there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written in php. -jerome ----Original Message Follows---- From: Justin French <justin@indent.com.au> To: Jeremy <wombat@bluetravel.com.au> Your Apache config file will be set to only parse PHP pages if they have the .php extension.... this is a feature, not a big, because otherwise every html page on your server will be parsed, rather than just the php ones... you could modify your apache config iff you wished, but I wouldn't. .html for HTML, .php for PHP, all is well. Justin French on 17/05/02 12:14 PM, Jeremy (wombat@bluetravel.com.au) wrote:
Hi Folks, A simple question that has me puzzled, obviously I have a config file wrong
somewhere.. Why does a filename.php file run as php and a filename.html with php code embedded not produce a php result? cheers, Jeremy Burton Senior Consultant PERTH TOURIST LOUNGE Level 2 Carillon City Murray Street, Perth Ph: +618 9229 2238 Fax: +618 9229 2220 Email: wombat@bluetravel.com.au.co.jp
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

« previous php.general (#98007) next »