Posted by Alan Hamlyn on Oct 16, 2009 in PHP | 0 comments
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 or field in an application:
<?php
$example = " test ff 1 <br > </p> hi...
read more
Posted by Spyda on Sep 13, 2009 in PHP, Tutorials | 0 comments
I’ve been doing an awful lot of string manipulation while creating the Spyda content management system (working title theKore) so I thought I would make todays article about the PHP functions I use most regularly for cleaning up and manipulating content entry.
strip_tags
First up and I would say the most important for content entry that you are not responsible for.
Not using this function...
read more
Posted by Alan Hamlyn on Aug 17, 2009 in PHP | 0 comments
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 or field in an application:
<?php
$example = " test ff 1 <br >...
read more
Posted by Spyda on Jul 31, 2009 in PHP, Tutorials | 0 comments
So, CRON jobs. I’ve always known about them, in fact I used to use variations of them in my first job. They’re scheduled tasks set to fire at a particular time or date, or with a particular frequency. We used these left, right and centre to fix anything that we knew would creep out of synch with everything else. From updating internal mail systems, linking to online software and importing...
read more
Posted by Alan Hamlyn on Feb 11, 2009 in PHP | 0 comments
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 can be caught by the...
read more
Posted by Alan Hamlyn on Feb 4, 2009 in PHP, Tutorials | 0 comments
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 a ‘truth’ value. It can only be...
read more
Posted by Alan Hamlyn on Jan 9, 2009 in PHP | 0 comments
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 service or anything like that, so this just manipulates a URL query. One thing I...
read more
Posted by Alan Hamlyn on Jan 7, 2009 in PHP | 0 comments
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 message if you wish in your ban, that way they can explain themselves, or bugger off.
You...
read more
Posted by Elizabeth Dearborn on Jan 5, 2009 in PHP, SEO & Search Engine Watch | 0 comments
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 to http://www.bbclone.de and get bbclone, the php-based web counter on steroids. It provides only...
read more
Posted by Alan Hamlyn on Dec 19, 2008 in Gaming, PHP, Reviews, SEO & Search Engine Watch, Twitter, Xbox 360 | 7 comments
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 review it. To be honest I’m a violent person. So...
read more