Related Podcast Link: Listen to Episode 123!
I love using PHP code and scripts. They can come in handy a lot of different ways in a lot of different places. In most cases people learn that if you want to run PHP scripts or execute PHP code your pages need to be in the .php format. What if all of your pages are already .html, .htm, or dot something else?
You are not left in the dark – I promise.
For an example, lets say Chuck has a large web site that is all done with .html pages. It was setup a long time ago, he didn’t know about any of the new web technologies out there, and he was happy with his simple static site. Now his friend Billy tells him he could add a few more dynamic things if he used some PHP code here and there.
The problem is Chuck doesn’t want to turn all his .html pages to .php pages.
What Chuck needs to do is add a few simple lines to his .htaccess file:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
After that, all of Chuck’s .html pages will be pushed through the server as .php pages. So this way he can keep his .html extension but use PHP. Now I know that isn’t the most technical way of putting things, but it is a way that we can all understand. The important thing is now Chuck can now execute PHP scripts in .html files.


Want to hide the content of that folder you just uploaded? Here are three ways of doing just that.
Every time I get an e-mail with a hosting question in it, I do my best to get it answered for the folks that ask me stuff. I don’t get paid for it – but hey, I’m a guy who likes to help out where I can. Here are some of the best random questions on and about web hosting that I’ve been asked about this week.
By using this series and set of tools you can see all kinds of information about what keywords are bringing people in from Google, the Google crawl rate, the last time your page was indexed plus around two dozen more cool tools and interesting resources. If your a webmaster who hasn’t done this your missing out on a free set of very helpful tools right from the folks at Google.
There are a number of tools out there to help you learn about how to create this special sitemap for Google to index. Here are just a few suggestions to help you get started:
What is one of the best free solutions for tracking statistical information on your web site? Personally I like Google Analytics. It has just as many tracking and stats options as any of the expensive big boys out there but it is totally free for anybody to use. Free plus good equals a winner in my book.
Landing Pages 101
Well since I had a little more time in between show this week, I figured I could quickly go through a few questions that were E-mailed to me while I was away.





