In Part Three of the Beginner’s Guide to PHP we learnt about the if construct (”statement”), and using it to check the value of some input. In this guide we’ll learn about two more constructs: foreach() and array()
foreach Construct
foreach — a type of loop, but we’ll cover that more in the future — is a [...]
June 16th, 08
12 Comments
Posted by Jem at 18:03 GMT
You know how I mentioned that I was being spammed by link-droppers on dofollow posts? Well, this was despite running Akismet. It turns out, that on top of *not* picking up the blatant link-dropping, it was falsely listing some of my long-time readers as spam! Fook knows how long that’s been going on, I never [...]
June 3rd, 08
25 Comments
Posted by Jem at 08:50 GMT
One of the most effective spam blocking techniques I used in my custom CMS was a scoring system. The idea is that the more spammy someone is, the higher the score they are given. After a certain cut-off point whereby a person or spam-bot has a score than our pre-set threshold, their comment or correspondence [...]
May 21st, 08
16 Comments
Posted by Jem at 20:34 GMT
BellaBook3.6 is out with some big-ish changes behind the scenes (tidying, etc). Mostly the same up front Testing would be appreciated as it’s late and I’m knackered, but always back-up entries.txt first.
Update: fixed some typos that were causing edit/delete errors. Please re-download. I really shouldn’t code at 11pm of an evening. :/
May 12th, 08
11 Comments
Posted by Jem at 23:21 GMT
I first discovered InstantRock.com through a thread over at Cynosure MB (yay, go referrals!) Apparently I’m really mean, and I know everything. Actually, I’m not sure that’s what they meant, but that’s how I like to read it Consider this a continuation of everything I said about xoxmariah.com (now closed, harhar).
In the grand [...]
May 8th, 08
60 Comments
Posted by Jem at 21:34 GMT