Archive by Author

Contact Form Hijacking – How to secure your PHP contact forms from header injection

When coding contact forms in PHP, most people don’t realize that unless they’ve taken the necessary measures, it will probably be vulnerable to header injections. This basically means that the attacker can put his own To and From into the email headers using the textarea or inputs in the contact form. Why do people do [...]

atoChat v1.0.1 preview video

The video can be seen at http://atomiku.com/files/atochat/preview.html atoChat needs beta testers so please email me via the contact page if you’re interested in the free beta and leave me your email address so I can get back to you. Thanks. (atoChat v1.0.1 release imminent!).

Simple jQuery plugin for Vertically Centering

Came across this while needing to vertically center a div within another div: 1234567891011(function ($) { // VERTICALLY ALIGN FUNCTION $.fn.vAlign = function() {     return this.each(function(i){     var ah = $(this).height();     var ph = $(this).parent().height();     var mh = Math.ceil((ph-ah) / 2);     $(this).css(’margin-top’, mh);     }); [...]

Great WordPress Plugins

WordPress is certainly one of the most feature rich and user friendly publishing platforms available today. At the same time it is loved for its openness, extendability and great open source community. WordPress is today used in serious projects and on large commercial websites besides the millions of hard working bloggers sharing their valuable knowledge. [...]

Styling your WordPress Comments

I recently stumbled across a website that shows you how to customise your theme’s comments skin, and also provides you with some nice code/themes that you can drop into the template file, such as: Green Gravatar:  The Speech Bubble: The blog post can be found at: http://www.darrenhoyt.com/2007/08/18/styling-your-wordpress-comments/. I realize though that it was written in 2007, and the wordpress code [...]

atoChat v1.0

Just a recap here, of some things that have changed in atoChat v1.0: Installer updated with new skin Now almost XHTML compliant Javascript moved to its own .js file, instead of being in the index.php All the ajax calls are much more stable now, it initializes it’s own xmlHttp object for each call instead of [...]