Author Archives: papa_face
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
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
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
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
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
A Register/Login Class
Hello, Well it has been a while since any posts were made here so I guess its time for me to post something useful (if you’re a coder). I’ve been working on a new project and in the process I … Continue reading
Increased Blog Activity
Just to let readers know that this blog will be updated at least twice a day from now on as I have hired two posters lowboman and Goody. The reason I have hired them is because I probably won’t be … Continue reading
Xbox 360’s are plagued. Still!
A few months ago I bought an Xbox 360 because Halo 3 was coming out (yes I like Halo that much… anyway). If I recall correctly it was due for release on the 26th of September 2007. I knew my … Continue reading
Protect a PHP page the easy way…
Updated code: http://www.papaface.com/2010/03/07/simple-php-page-protector/ Have you ever wanted to protect a PHP page to prevent people from viewing sensitive information? Well I haven’t but that doesn’t stop me showing you how to do it if you ever need to 😀 . … Continue reading
Sony Is Environmental Friendly, Its Competitors Not So Much
It was announced by the activist group today that the company known as Sony is re-rated as environmentally friendly in there book. Now this is good news for the Large technology corporation as its major competitors and rivals like Microsoft … Continue reading