Convert HTML

Some of my posts include snippets of code that help explain the process or describe what needs to be done. Most of the code is written in Visual Studio or Dreamweaver, and as such simply copying and pasting the code into the blog post doesn’t work.
Continue reading

Create a Glossary with WordPress

[EDIT: Tested with WordPress 2.7.1]
I wanted to create a glossary that facilitates terms, buzz words and acronyms used in modern computing. I needed something that was simple to update and manage, and use the capabilities of WordPress rather than creating a simple page with hyperlinks/bookmarks, which would require jumping back and forth into code. Continue reading

Change Default Thumbnail Size in WordPress

I’ve been using WordPress for a few weeks now, and thinks it’s an awesome blogging tool, however, as with most applications it doesn’t do exactly what I want it to do. One of the annoyances I have right now, is that the thumbnail image WordPress 2.3 creates is too small for my tastes and so I wanted to find a way to change this. It is actually quite easy to change – it just requires modification to one WordPress file. Continue reading

Form security using SESSION.SESSIONID

I’ve been having problems recently with attempted spamming exploits on my form to email scripts (i.e. users downloading forms, messing with them and then submitting them remotely to my form handling scripts) and thought I’d see if comparing the sessionID of the sending pages and form handling pages could help to weed out these fake submissions.
Continue reading

Tips for Classic ASP developers on Vista

Installed Vista Ultimate the other day, after much customising, I finally got round to installing IIS, everything seemed to work fine, until I migrated my Classic ASP applications. Stumbled across a whole bunch of issues, which I finally resolved thanks to a bit of research on Google, so I thought I’d share some of these tips not only for others but also for myself in case I have to do it again in the future.

Continue reading

Reducing the Risk of SQL Injection Attack

Databases can be compromised if they are open to SQL Injection Attack. Stripping invalid characters from form inputs will reduce this risk.

If you have a form on your site that interacts with a database (e.g. a username/password login form), you should secure the form by adding an additional stage between submission and the database look-up. One way to do this is to check for valid content. Continue reading