RE: [PHP] PHP not parsed in HTML

From: Date: Tue, 12 Feb 2002 20:58:13 +0000
Subject: RE: [PHP] PHP not parsed in HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84449@lists.php.net to get a copy of this message
Hostrocket.com, one of the ISPs we host our clients web sites on, allows us to do this by simply adding the following lines into the .htaccess file in account's home directory.. AddType application/x-httpd-php .html AddType application/x-httpd-php .htm I do not know if this is a general solution or one specific to their servers. But it works well and is search engine friendly. I don't see any degradation in speed as a result of it. -- Kevin Stone Kevin@helpelf.com www.helpelf.com > -----Original Message----- > From: SpyProductions Support Team [mailto:support@spyproductions.com] > Sent: Tuesday, February 12, 2002 1:37 PM > To: php-general@lists.php.net > Subject: [PHP] PHP not parsed in HTML > > > Hmmmm....here's another humdinger of a question: > > I am with a hosting company that doesn't want to parse PHP in HTML files > because they are afraid it will slow down their server(s) too much. > > So. I really like them and don't want to move the site if I don't really > *have* to. There are some neat things I would love to be doing in the > HTML > on it, though. > > I was thinking; could I make some sort of little javacript calling on, or > including the PHP file I want to run on the HTML page? > > Thanks, > > -Mike > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#84449) next »