December 27th, 2006

Internet Business Blog

Web

This post is sponsored (more…)

December 27th, 2006

Automatic cPanel backup (domain & MySQL) with cron & PHP

OK, so I posed the question, and I found the answer. (Of course I had to find it myself, I just don't have people who regularly read my posts and do research for me!)

The situation is this: I use cPanel on my web hosting server. I use the cPanel backup tool to regularly backup my home directory (includes my web files, mail, etc), and my MySQL databases. I love the fact that you can use it to backup to a remote FTP server, and I do that on a fairly regular basis.

The major drawback is that you have to remember/schedule to perform this backup manually. This becomes especially difficult if you have multiple cPanel accounts. It would be amazing if you could just schedule the cPanel backup to run at regular intervals, perhaps with cron. Well, although there's no option for that in cPanel, the script below will allow you to do exactly that! (more…)

December 24th, 2006

Automatically backup to FTP with cPanel

Web

I like the backup tool that's offered with cPanel, but it still requires manual initiation. I regularly backup to an FTP server, but is there any way to script it with a cron job to do this automatically? Anyone have any experience with this?

December 22nd, 2006

A truly effective anti-spam solution

I hate SPAM (email, not the food). I hate spammers. I hate the fact that I receive almost 200 spam emails every day. (thank goodness GMail filters most of them)

I saw no end in sight to the Spam problem. I've tried many things on my email clients, such as Mozilla Thunderbird, or Outlook. They're good, but they miss a lot, and often mark the wrong emails as spam - knows as 'false positives'. I've also tried some server-side solutions, such as SpamAssassin, and even BoxTrapper. BoxTrapper was far too restrictive, and required every single person that emailed me to verify that they were real. SpamAssassin was good. But just good, not great.

Anyhow, recently I started a new job for a B2B Internet Security firm, and their main product/solution is an anti-spam appliance. I'm not going to shamelessly plug the company (if you really want to know who it is you can ask me), but I have to say - I'm extremely impressed with the product. I honestly believe that this is the solution to most companies' spam problems. They guarantee to catch 98% of all spam, that's impressive. They recently updated the product with the ability to read images, and detect image spam as well. Anyhow, I really believe in this product, and do think that it could mean the end of spam for the most part.

December 21st, 2006

Google Maps causes Internet Explorer to crash

I was working on a site the other day, and I came across the error on a page that I've never seen before. The page had an embedded Google Map, and there was a JavaScript function to display the map. The page worked in FireFox, but when I ran it in IE, I got the following JavaScript error:

Internet Explorer could not open the internet site.
Operation aborted.

And not one bit of the page would display.

I dug around online, but couldn't find anything. On a complete whim, I decided to try to move the showMap() function into the window.onload() handler. And crazily enough, it worked! So the whole error was caused by the showMap() being run before the page had fully loaded. Insane…

« Previous PageNext Page »