Embedding Flash with valid XHTML Strict

2nd
Jul
websitedevelopment icon

A quick example on embedding Flash objects in valid XHTML Strict.

MD5 and SHA1 “Decrypting” with PHP / MySQL

30th
Jun
mysql icon

In this reference we’re going to look at how to “decrypt” (or more accurately “collide”) MD5 and SHA1 hashes by creating a resource of pre-hashed words.

SQL Injections: Introduction with PHP/MySQL

29th
Jun
php icon

Providing you know SQL you can perform SQL injections on websites that perform unescaped queries. In this reference we’ll use a hands on approach and start by performing our own basic injections based on website user input and then looking into prevention methods.

Mapping Linux (ext3) File System for use in Apache under Windows

26th
May
apache icon

After setting the Windows hard drive as the primary boot device I set out to not only read the Linux filesystem (ext3) with all my work but to also continue it in Apache under Windows which, to my surprise, was actually very easy. By the end of this reference you should be able to use your Linux filesystem within Windows and use Apache to read and use the website related content off your Linux filesystem.

A Basic Introduction to chmod for Linux

21st
May
security icon

chmod (short for change mode) is a shell command for Linux (and other Unix-like systems) for changing file and directory permissions. With Linux being a popular server solution it is an important command to learn and understand especially for the likes of website development on Linux based HTTP servers.

URI Rewriting Alongside WordPress’ PermaLinks

18th
May
apache icon

With the release of this Journal I decided to use Wordpress’ permalinks, which basically provides an easy hassle-free option for rewriting Wordpress’ URI’s. When uploading my most recent site there was a conflict with .htaccess and my rewrites simply weren’t working.

Changing Device Driver for NetworkManager (nm-applet)

17th
May
ubuntu icon

As Ubuntu’s NetworkManager applet (nm-applet) has no option to change the driver you’re required to do it manually, which this reference will demonstrate. As an example we’ll be changing the default driver (rtl8180 for me) to use ndiswrapper.

PHP DOM Document Class

17th
May
php icon

The PHP DOMDocument class in PHP allows you to manipulate HTML and XML files by getting elements, creating elements, validating pages, saving pages and more.

In this quick example we’ll use the DOM Document class to extract links from a remote page, something I’ve had to do recently.

Object Doesnt Support this Property or Method (IE)

17th
May
javascript icon

I recently encountered this problem using Javascript and Internet Explorer. It worked perfectly fine in other browsers although (for a change) I think MSHTML has got this right enforcing good practice.

Object Doesnt Support this Property or Method can occur in Internet Explorer when you declare a variable that has the same name as a document object.

Flex 3 with PHP

30th
Jul
php icon

I’ve recently started to develop with the Linux alpha version of Flex Builder and was looking around for a decent introduction for using Flex 3 with PHP. Unfortunately there was nothing basic and the majority of articles related to Flex 2 and simply didn’t work. So here is an article ground down to the bare basics.

GIMP Graphical Content Divider

4th
Jul
gimp icon

In this reference we’ll take a look at creating a nice content divider for a web page that repeats horizontally. I don’t know the exact term for an effect like this but “Graphical Content Divider” will suffice.

Nested Lists in XHTML

4th
Jul
websitedevelopment icon

Putting lists inside lists does not validate with the W3C Markup Validation Service. The only method to nest lists relatively with valid XHTML is to nest the entire list within a list element.