« About me

riches designer, developer, gamer

Monthly Archives: December 2009

Find a Users Language in PHP

It can be very useful to determine the users set language when visiting your website. The determined result can be used for many different applications, from targeted adverts and country specific affiliate links to country specific wording or images. The code behind … Continue reading

December 13, 2009

PHP Arrays Primer

New to PHP and want to learn what arrays are and how to use them? Then this is the article for you! What is an Array? An array is a list of items with keys, normally the key is a … Continue reading

Create a Cisco IP Telephone Ringtone in RAW Format

Strangely Cisco have not made it easy to create ring tones for their IP telephones, but this post breaks it down step by step. 1) Download a program called WavePad Sound Editor (its free) 2) Download the ringtones you want … Continue reading

December 9, 2009

Generate a Random Hex Colour in PHP

Often required for testing this simple function will generate a random hexadecimal colour every time. Copy this piece of code into your page:

December 1, 2009