Tag Archives: php

Simple PHP Page Protector

A couple of years ago I posted a way to protect a PHP page from access on the internet in an easy way. I’ve spent around 15 minutes producing what I feel is a better version of the same script … Continue reading

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

Remote Email Address Validator

Hello, Long time no post! I’ve been concentrating on my other projects lately so I have neglected to post on here 🙁 However I come back with a nice little email validator 🙂 Email addresses are changing all the time, … Continue reading

Posted in Miscellaneous | Tagged , , , | 2 Comments

Sanitizing $_POST and $_GET

Hey, Well I haven’t posted something PHP related for quite a few days now so I thought I’d show you something I use in every single script that I write that involves form submissions or URL data. It is important … Continue reading

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

The Beginning of PHP

PHP – Hypertext preprocessor is basically a computer coding language. The language was designed by Rasmus Lerdorf and was developed by the PHP group. PHP was created in 1994 by Rasmus Lerdorf to help maintain his personal homepage. He had … Continue reading

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

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

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