|
Re: have php parse .html files, no access to serversetup.: msg#00324php.install
Thanks Jim, that seems easy enough. :) Since I never went through an actual install of php(Hosting company handled it) this part of it is a bit of a mystery for me. I take it the .htaccess file should go in my web root directory. I've been using php more and more so I wouldn't be surprised if all my .html webpages end up with php calls in them, thus the server hit may be worthwhile. Bob. Jim Thome wrote: > > Bob, > > Add this line to your .htaccess file: > > AddType application/x-httpd-php .html > > No security problems, just an added load on your server to parse > (potentially) static files. > > Jim > > >>> Robert Foster <robert.foster@xxxxxxxxxxxxxxxxx> 10/28/02 12:46PM >>> > I would like to be able to have my Hosted web server parse my .html > files for php commands also, instead of just files with the .php > extension. Currently only .php files are parsed by PHP. Is it possible > to do this with an .htaccess file? What directory should I put the > .htaccess file in? An example would be great. > > Also, any security problems having .html files parsed by php for php > commands? > > Thanks, > Bob. > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: have php parse .html files, no access to server setup.: 00324, Jim Thome |
|---|---|
| Next by Date: | One more time gd with php: 00324, Blacky-php |
| Previous by Thread: | Re: have php parse .html files, no access to server setup.i: 00324, Jim Thome |
| Next by Thread: | One more time gd with php: 00324, Blacky-php |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |