Solved

PHP Parse .htm Extensions?

Posted on 2002-07-22
2
233 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now