Archive for September, 2007

How to Make HTML Pages Recognize PHP

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.

Protect Yourself from Domain Slamming

Related Podcast Link: Listen to Episode 123!

Stop Popup AdsHave you ever gotten one of those letters in the mail from places like the Domain Registry of America? They are nice enough to send you a letter to let you know your domain name is unprotected, about to expire, is going to die a horrible horrible death - but they will save you. They will renew your domain name for you as long as you send them that check back in the mail.

Now many of us know to toss out this crap, because all it is - is an advertisement. Other folks though I am sorry to say are still falling for it hook, line and sinker. Now it isn’t the user’s fault. Nobody told them they would have to watch out for these types of scams. The name for this practice is domain slamming - and it is something everybody needs to be aware of. Read more »

Screwed Up? Should Have Backed Up Instead!

Related Podcast Link: Listen to Episode 123!

Back This Up!From time to time stupid things happen to good people. Now if that alone isn’t a good enough reason to backup your web site - I don’t know what is. I learned a very valuable lesson this past weekend when upgrading WordPress on all of my projects that use it. Make sure your current theme folder does not match one of the ones that they install by default. If you do - the layout will forever be lost, and you will waste a Saturday designing a new layout.

The lessons learned from a mistake are often the best ones to learn though. That way you are sure you never fall in that same trap again.

Now there are a lot of different ways to manage a web site, so there is no way I could tell you how to backup every single kind in a 15 minute podcast. It would just be too hard. What I can do for you is to share a few organizational tips to help you get this job done. Read more »

Slamming Domains and Other Stuff - Episode 123

Hosting Radio for Real PeopleOh do I ever have a show lined up for you. It’s been a while since I’ve been this excited and I promise - no I guarantee - after you listen you’ll have to agree. From domain slammers to creating your own search engine we have a little bit of something for everybody right here on the Web Hosting Show.

Download the Web Hosting Show, Episode 123!
Running Time: 15 minutes | File Size: 6.44 MB

Here are just a few topics from this week’s episode of the Web Hosting Show.

  • All About Domain Registration Hijackers!
  • Don’t be a Screw Up, You Must Backup!
  • Tips on Creating a Custom Google Search Engine!
  • Learn to Push Out PHP Code in HTML Pages!
  • I Really Hate Domain Registry of America!

Link of the Week: WHS’s Updated Video Tutorials

Welcome to the number one web hosting podcast in all the land, as voted in by three midgets and a system administrator named Charlie. Come inside my side of the hosting world, just remember to leave your shoes at the door.

Whoops!

You know when they tell you that you should be careful to back up before upgrading WordPress - you should pay attention. Looks like a few things got screwed here thanks to the update, but I’ll be spending my day getting things presentable again.

Update (4:20 PM): Alright got a new theme up and running and I think we have all learned a valuable lesson. Still tweaking things here and there to make it picture perfect. Not the best way I could have spent my Saturday.

Update (4:45 PM): Ok, I think I am done for now. Let me know if you see any big issues come up and I’ll be sure to get them fixed ASAP. Big thanks goes out to Fahlstad.se for making such a kickin’ base theme for me to customize. *grin*

Update (Sunday - 7:18 AM): Ok, the videos section should be updated and working again. I know some people had issues with that with the old layout.

Web Hosting Job Hunting Guide - Episode 122

Hosting Employment GuideSo you want to become one of the few, the proud - the average web hosting worker. Now I can tell you from first and experience, it isn’t all fame and glory.

It is a job for people who like to help other people. If you don’t have the patience for people with stupid questions, or if your not that interested about how the Web works this job might not be for you. If you like tinkering with things and you find yourself being very customer service friendly, then stay tuned because this might be the right job for you.

Download the Web Hosting Show, Episode 122!
Running Time: 11 minutes | File Size: 4.74 MB

In this Web Hosting Show guide I want to cover some of the basic questions and ideas that anybody looking to work in the web hosting business will need to consider at least once before jumping in with both feet. Read more »

« Previous Page