Solved

PHP Parse .htm Extensions?

Posted on 2002-07-22
2
234 Views
Last Modified: 2006-11-17
I am redoing my site that has all .htm extensions. I want to use some php scripting but am concerned that if I direct php to parse .htm files on my Apache server, it might cause problems. Has anyone tried this with success or know of any downside?
Thanks much!
Emory
0
Comment
Question by:emory7
2 Comments
 
LVL 1

Accepted Solution

by:
thetool721 earned 50 total points
ID: 7170290
Use the PHP file extension instead of setting Apache to parse htm and html files.

By telling Apache to parse these files, your webserver will attempt to parse EVERY file it serves with that extension.  This is going to cause some major performance problems on the server.
0
 

Author Comment

by:emory7
ID: 7170316
Thanks very much! That's what I needed to know!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Sessions in WordPress 8 31
showing loader for php/mysql/ajax live search 13 26
How can I make this form submit to itself? 10 27
Cpanel file manager 8 24
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question