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

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

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

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

Posted in Coding | 11 Comments

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

Posted in Coding | 2 Comments