A problem that many programmers encounter is trying to prevent the user from submitting a form twice and inadvertently posting two sets of the same data – or in worse scenarios, charging a credit card twice!

It’s a frustrating problem that is easily solved if you put your mind to it – ignoring it is nothing short of lazy.

On the client-side, we can use JavaScript to prevent the user from submitting the form more than once. Observe:

Read the rest of this entry

,

I’m on the verge of saying goodbye & good riddance to Leaseweb – and I couldn’t be happier.

It is through great regret that I recommend that anybody thinking about renting a server from Leaseweb, should think again. The trouble I’ve had from the moment I said Go, has been unbelievable. And despite their very cheap prices, there is no value to be found here.

I joined Leasewebback in June this year, due to issues with my previous host – I was sharing a server with a friend, but it seemed I was paying the full bill every month. So for 80 EURO (approx. $120 USD) I ordered a dedicated server from Leaseweb.

Here’s the blunders:

Read the rest of this entry

,

Google AdSense is like driving in snow – just when you think you’ve got it, you realise you haven’t. Trying to nail the best positions to stick ads is a nightmare, but browsing the ‘net reveals many secrets about advertising that some bloggers just don’t take into consideration.

Here’s a bunch of theories for your consideration.

1. It isn’t about making another dollar, it’s about helping the visitor.

I know, it’s a hard concept to grasp for those bloggers constantly plastering keywords all over the page for a little extra keyword density – but advertisements should actually be helpful to the visitor. Given that you can’t force a user to click on an ad (within most agreements at least), the next best thing – depending on how you look at it – is to offer them something they would actually like to click on.

Read the rest of this entry

So, you’ve got a big website with thousands of members, it brings in $50 a day, and your community couldn’t be happier. What could be better? HTTPS could be better.

There’s just something so exciting about that little padlock appearing beside your domain name. To your customers it shows that you care about their online safety, and that you want them to feel safe.

But, HTTPS can be a complete pain to code, and many people go about it completely the wrong way. So here’s my entry to help those of you struggling with integrating HTTPS in PHP.

Read the rest of this entry

,

Getting the right backup software to back up your documents is something you shouldn’t put off doing. Losing documents is a feeling best not experienced. It’s important to realise that losing documents doesn’t come down to luck – it comes down to being prepared. Every electrical device is eventually going to die, don’t make the mistake of believing that your computer is somehow invincible.

There’s lots of online backup software available, but Windows XP has its own backup software included. If you’re using XP Home Edition then you might need to download the package and install it. If so, you can follow this link to do so and then come back here when you’re ready.

Read the rest of this entry

, ,

Microsoft provide a backup utility with all versions of XP. Except in Home Edition it isn’t automatically installed, you have to find it on your XP disc and install it. Unfortunately, many people either don’t have an XP disc or have mislaid it! So here’s a download for you:

www.eyeonsilicon.com/downloads/ntbackup.msi

Follow the wizard to install the application.

,

Its a coder’s worst nightmare – sending emails from scripts! I can’t think of anything I dread more when designing a website, somehow whatever I learned the last time I did it has changed drastically whenever I decide to do it again.

It isn’t just me either, coders across the globe hit the same brick wall and continuously bang their heads against it. You can re-arrange the headers as many times as you like, it isn’t going to work.

But a few months back I discovered something that really does make a big difference to SPAM filters, and should probably be the first thing you check as it can make or break your script.

Read the rest of this entry

Following on from my previous entry “does server location affect google search ranks?“, I was curious as to whether the speed of a server would affect the search ranks.

Reading through the web I can’t find a definitive answer. So instead, I’m resorting to a logical argument.

Would it make sense for Google to reward sites with faster servers?

Read the rest of this entry

, ,

In short, YES!

Allow me to put forth a theory:

You have your very own website at yourwebsite.com. Your site is becoming more popular by the day and you decide to look for a better hosting deal. You notice that servers in the Netherlands are cheap, so you pay your first month’s rent and move your website on over. A couple months down the line, you notice you aren’t getting as many hits from Google search.

Conclusion: Google thinks your site is for the Netherlands.

Read the rest of this entry

, ,

Windows XP has had mysterious bugs from the day Microsoft said go, some serious and others just more… annoying. One such bug is corruption of the generic driver used for CD and DVD drives.

One day, you may just find that your CD/DVD drive has vanished. When you check in Device Manager, you see your drives have little yellow exclamations by them – what’s up with that?

If you look further, you might come across something similar to:

“Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)”

Read the rest of this entry