Solved

PHP Parse .htm Extensions?

Posted on 2002-07-22
2
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I allow for non standard CSV file 9 47
Format Date 7 28
Joomla Editing 3 23
Ordering displaying data in a drop down 3 12
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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 dynamically set the form action using jQuery.

751 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