Archive for 'PHP'

PHP Basics : Removing White Space / HTML Tags From A String

Hey Wuup readers. I’ve got a simple post here for those learning PHP, or even the more seasoned programmer. If you’re looking for a simple way to to remove white space from strings, and strip html tags from strings too, try this out. It can be handy if you don’t want people to abuse a form [...]

PHP String Functions

PHP String Functions

I’ve been doing an awful lot of string manipulation so I thought I would make todays article about the PHP functions I use most regularly for cleaning up and manipulating content entry.

PHP Basics : Removing White Space / HTML Tags from a String

Hey Wuup readers. I’ve got a simple post here for those learning PHP, or even the more seasoned programmer. If you’re looking for a simple way to to remove white space from strings, and strip html tags from strings too, try this out. It can be handy if you don’t want people to abuse a [...]

The long overdue CRON job

CRON jobs. I’ve always known about them, I used to use variations of them in my first job. Scheduled tasks set to fire at a particular time or date, or with a particular frequency.

PHP Basics: Exceptions: Throw and Catch Tutorial

Hi there,
Today we are talking about PHP excetions, very handy stuff you know, and available from PHP5 and onwards (current at time of this article), the throw and catch is similar to other programming languages which also use ‘Try’ and ‘Catch’ exceptions.
The point of these exceptions, is that PHP can be ‘thrown’ something, and errors [...]

PHP Basics: Boolean Logic Tutorial

Hi there PHP fans! (lol I sound like an American sports commentator). Ok we’re going to take a look at PHP Boolean logic, it’s a tutorial, so we’ll take you through it simply and give you some examples. Easy peasy! – It won’t take long.
PHP Boolean Type
Booleans are the simplest php ‘type’. A boolean expresses [...]

PHP Basics: Replace Characters & Google Maps

Hi All, Generic article greeting input here!
Replace Characters with this Easy PHP Script
I recently decided that with some enquiry forms that I wanted to send out a link to Google maps so that the person who recieves the enquiry can locate them on the map easily. I didn’t want the hassle of setting up a SOAP [...]

PHP Basics: IP Banning Script

At some point or another you’re going to want to know how to do this. You’re in luck, as it’s pretty easy to do.
Reasons to ban an IP
You may have visitor logging and you notice some unusual behaviour, for safety, it’s a good idea to ban this individual, and you can even give them a [...]

What your site searches can tell you

How do you know if your SEO efforts are really working? Are people finding what they’re looking for on your website? Here is the system I use on my sites to keep track of what people expect to find.
From the outside …
If you don’t have access to server logs, or even if you do, go [...]

Submit a Game to Be Reviewed

Hi there,
Christmas time comes around once per year, personally I’d rather it was like a leap year, once very four, but I don’t write the rules… anyway…
If there’s a particularly good game or any particularly bad game, any genre, any platform, let us know in the comments below, and we’ll go out, buy it and [...]