Blog Posts

Actionscript 2 – PHP Data Transfer

May 17, 2010

In the below example we will use Actionscript 2 to call a remote PHP file that will return data to it.


Read More

Unique Random Numbers in PHP

May 13, 2010

If you would like to show random numbers using PHP you can do this:


Read More

HTML mail() Sending as Plain Text

May 11, 2010

$to = "[email protected]"; $subject = "SUBJECT"; $message = "<b>MESSAGE</b>"; $headers = 'MIME-Version: 1.


Read More

Turbo C++ in DosBox for Windows 64bit

May 7, 2010

I had to compile a C++ application under a DOS environment and was running Windows 7 64bit.


Read More

Case Insensitivity with .htaccess files

May 5, 2010

If you have an .htaccess file to control the flow of URI’s on your site you may want to look at adding a nice little “case insensitive” feature to each line/item.


Read More

Actionscript2: Split string by line length with & without word-wrap

May 5, 2010

Split string into sentences by max line length. This uses a character array but doesn’t use word-wrapping.


Read More

Search and Replace Anchor Href using Javascript

April 29, 2010

I have a site that is under development and it was made really badly so I needed a quick way to replace all anchors on page to the relevant path.


Read More

Error 29506 while installing SQL Server Management Studio Express

April 28, 2010

I was trying to install Microsoft SQL Server Management Studio Express (what a long name) on a machine and kept getting error 29506 right near the end with a Rollback action thereafter.


Read More

Swap HTML Elements Using Javascript

April 26, 2010

It is quite easy to use javascript to swap between divs or any other html dom elements.


Read More

A PHP Mail Class

April 26, 2010

Below is a Mail class I created in PHP, it requires 4 arguments on initiation of the class via the constructor and uses the method ->send() to send the created mail once complete.


Read More

iTunes keeps maximizing!

April 26, 2010

Oh my goodness, this can be an annoying issue with iTunes.


Read More

Replace newline break in Excel

April 23, 2010

Ever needed to find & replace the newline character in a large excel document?


Read More

PHPExcel Class Usage

April 23, 2010

I just finished adding an export xls (excel) export feature to a web application.


Read More

unexpected T_IF

April 22, 2010

Getting “Parse error: syntax error, unexpected T_IF” ? Check if the preceeding line ends with a ;


Read More

Worst Websites of All Time

April 19, 2010

http://www.arngren.net/ http://www.lingscars.com/ http://www.theworstwebsite.com/ – beware, alert boxes coming! http://havenworks.com/ http://www.msy.com.au/ http://www.


Read More

Set line leading / line spacing in flash actionscript 2

April 16, 2010

This is how to add text leading using Actionscript 2 for Flash.


Read More

MySQL Main Query Types used in PHP to select, insert, update and delete data

April 16, 2010

MySQL Main Query Types SELECT SELECT * FROM tablename INSERT INSERT INTO tablename (col1, col2, col3,.


Read More

Connect to mysql database from php

April 16, 2010

If you need to connect to a mysql database from php you can do it like this:


Read More

htaccess file and error 500 internal server error

April 14, 2010

I have a question for anyone that can answer it:


Read More

Quake 4 – Fatal Error: could not create destination file

April 9, 2010

If you get an error message similar to this one when trying to run Quake 4…


Read More