Monthly Archives: January 2008

Data Types in PHP

PHP is not a very strict language when it comes down to data types. Strings: $string = "This is a string"; Strings are values that contain characters. This can include basically everything you can type on your keyboard. Integers: $string … Continue reading

Posted in Coding | Tagged , , , , , , , | 2 Comments

How to make a Dynamic Image

Dynamic images (as I call them) are images that change depending on a condition. A regular image URL is something like: #1 <img src="http://www.papaface.com/wp-content/themes/papaface/images/beer.png" /> However a Dynamic Image’s URL could be something like: #2 <img src="http://www.papaface.com/somephpfile.php" /> Notice the … Continue reading

Posted in Coding | Tagged , , , , | 3 Comments

The end of DMR coming soon?

One of the major labels in the music industry (Sony BMG) has decided to remove the DRM protection on their MP3s. Sony BMG is the last of the major record labels to cave in to the removal of DRM. It … Continue reading

Posted in Miscellaneous | Tagged , , , , | Leave a comment

The greatest inventor of all time. Nikola Tesla

Many people consider Thomas Edison to be one of the worlds greatest inventors of all time. With 1,093 US patents to his name you’d be right in thinking that. However Nikola Tesla was in a league of his own. Nikola … Continue reading

Posted in Miscellaneous | Tagged , , , , , , | Leave a comment

A Simple Banner Rotator Script

I’m in the coding mood today 🙂 . I cannot count how many times I’ve been asked to code a UBER simple banner rotator script. These things are so simple, but if you don’t know PHP it can be difficult … Continue reading

Posted in Coding | Tagged , , , | 13 Comments