Tag: coding

Your Outsourced Support Sucks

I was trying to renew a domain for work earlier this week. After logging in to the control panel, I clicked the “Renew Domains” button and was presented with: Database error: Invalid SQL: SELECT * FROM domains dom, members mem WHERE dom.dom_id = AND (dom.dom_registrant = ##### OR dom.dom_admin = ##### OR dom.dom_technical = ##### […]

Comma Separated Link List

A thread at some random forum asking how you make your WordPress links look like “this, this, this” popped up in my tutorialtastic referrers, so I figured I’d post how I do it here. Firstly, you’ll want to alter the way WordPress displays the links. I do so using the following snippet: <ul class="inlinelist"> <?php […]

cURL to bypass allow_url_fopen off

One of the requested features for NinjaLinks was to allow users to specify a link button that will be used to link back to a site instead of / as well as normal text. As the button will be hosted on a remote server, I was thinking of using cURL to bypass allow_url_fopen restrictions. (Yes, […]

Age Is a Bullshit Excuse

I’m sure I’ve covered this before, but screw it… I’m going to cover it again. Using your age as an excuse for being incapable of something is bullshit. Unless you’re coding at the age of 3, I don’t want to hear it. I cannot repeat enough: children today have access to the Internet at a […]

PHP Game Programming

I am very interested in creating some PHP-based simple text/image games, like hangman, guessing games, “higher or lower”, that sort of thing. Unfortunately, resources seem few and far between to get me started on the right track. I’m sure I could sit down and eventually drill something out but it’d save me a lot of […]

zomg regex

This is probably the most complicated thing I’ve ever had to work out in my entire life: /^MK([1-9]|1[0-5]|17|19|77) [0-9]{1,2}[A-Z]{1,2}$/i

Beginner’s Guide to PHP – Part Four

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 — […]

BellaBook3.6 Release

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. :/

Dangers of Dofollow

I have been a supporter of the “dofollow” movement since before it became a movement. I’ve talked about its disadvantages before, but none were so apparent as the one that came to light this week. Digital Point forums is filled with spammers and sploggers trying to make a quick buck. While this is normally harmless […]

Pants: Ticking Timebomb

I was hoping that I could start this Pants Award with my very own review from Ticking Timebomb. It’s one of those tweeny review sites that pop-up from time to time, but ultimately disappear because the standard of reviewing is piss poor and nobody actually reads them [the reviews]. Unfortunately, she refused to review me […]