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.
> -----Original Message-----
> From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 1:37 PM
> To: [EMAIL PROTECTED]
> 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
> 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
> *have* to. There are some neat things I would love to be doing in the
> on it, though.
> I was thinking; could I make some sort of little javacript calling on,
> including the PHP file I want to run on the HTML page?
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php