Category Archives: Web Development

Whitelabel your Plesk web hosts nameservers

This post is all about how you can hide your hosting companies name servers. I run a web hosting company, and many of our clients are re-sellers, as you might expect, they don’t want people knowing who we are, so they want to hide our nameservers.
Incidentally, our nameservers are ns1.leadingedgehosting.co.uk & ns2.leadingedgehosting.co.uk
This post will show [...]

Also posted in Server Administration | Tagged , | Leave a comment

Preventing SQL Injection

For anyone who needs it, here is a script I wrote to prevent SQL injection. It uses references to the original global arrays to clean them up.

 

/**

 * added the following code to enabled readyness for magic_quotes() being removed

 * in PHP6

 *

 * added by C. Cook 15/8/2008

 */

//Turn off magic quotes the manual way, this also [...]

Also posted in Computer Security, Databases | Tagged , | Leave a comment

Cappuccino

Ok, there isn’t a lot to say on this post since I don’t know a huge amount about it. However, take a look at Cappuccino a new web application framework, one that abstracts things so much that you no longer need to write XHTML or CSS (not 100% sure that that’s such a  great thing [...]

Posted in Web Development | Tagged | 2 Comments

Accessibility and Popup Links

Ok, I’m sure this has probably been posted about elsewhere, but I’m starting to think that some of the guidelines and XHTML specs shouldn’t be treated as strict rules.
For example, I seem to get this a lot, you build a website using a Strict XHTML doctype and then clients start to ask you to put [...]

Posted in Web Development | Tagged , | Leave a comment

How to use the HTML address tag?

Right, can anyone help me out here?
I make a lot of websites, and I know HTML 4 & XHTML pretty damn well, but I can’t fathom the W3C definition of the <address> tag.
I quote:
The <address> tag defines contact information for a document or a section.

Tips and Notes
Note: The <address> tag should NOT be used [...]

Posted in Web Development | Tagged | Leave a comment