Category Archives: Coding
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
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
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
My XHTML/CSS Notes
XHTML/CSS Here are my notes that I use when coding a valid XHTML/CSS page. If you see any mistakes let me know ๐ Fundamentals รขโฌยข Must have: <?xml version="1.0" encoding="iso-8859-1" ?> At the top followed by: <!DOCTYPE html PUBLIC "-//W3C//DTD … Continue reading