No link yet to more news, but I just heard on TodayFM that the GAA will debate Rule 42, the rule that bans “foreign sports” from being played in Croke Park, and other GAA property.
Finally, it’s happening. If it’s deleted I’m sure the Devil will build a snowman to celebrate!
Later… RTE has more details now.
Validate Email Address in PHP
It’s a common task but one that I haven’t looked at in as much detail as this devshed article. There’s a few bugs in the code, and a function was posted to the comments that’s all over the place.. here’s the same PHP function, cleaned up, to verify an email address. Note that it won’t work in Windows as-is because “checkdnsrr()” isn’t available on Windows platforms. (Remove the \ characters from before the ” characters surrounding the regex.. WordPress adds them when I post this. *grrr*)
function checkEmail($email)
{
// checks proper syntax
if( !preg_match( "/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/", $email))
{
return false;
}
// gets domain name
list($username,$domain)=split('@',$email);
// checks for if MX records in the DNS
$mxhosts = array();
if(!getmxrr($domain, $mxhosts))
{
// no mx records, ok to check domain
if (!fsockopen($domain,25,$errno,$errstr,30))
{
return false;
}
else
{
return true;
}
}
else
{
// mx records found
foreach ($mxhosts as $host)
{
if (fsockopen($host,25,$errno,$errstr,30))
{
return true;
}
}
return false;
}
}
At The End Of The Day
Yesterday was a glorious day. It was one of those rare days when the sun shone, and blue skies were the rule. It finished with this lovely sunset as I drove home.
So of course I had to stop and risk life and limb by running onto a narrow bridge while rush hour traffic edged past carefully. I think it was worth the trouble, don’t you?
Yahoo! to locate European HQ in Dublin
Yahoo! is expanding it’s presence in Ireland!
Posh and friends strip for charity
Posh and friends strip for charity
A new book will feature photos of Sarah Ferguson, Paris Hilton, Kate Moss and Geri Halliwell and it’s in aid of the Elton John Aids Foundation.
Victoria Beckham has been photographed naked – aside from a piece of Cartier jewellery and a pair of Jimmy Choo shoes – for charity.
Run, run, run away!!!!
WordPress 1.5 is out. WPMU release to follow
WordPress 1.5 is available now from the download page!
If you’re using the last snapshot of WordPress MU then you’re using a very similar version, but I’ll have another snapshot out soon with the official 1.5 code!
Congrats to the WP developers who put so much effort into this release!
All About the GoogleBot
I had cause to research search engine bots yesterday and I came across a few nuggets:
Multiple Browsers URL Spoofing Security Issue
This recently publicised problem with almost all browsers (except IE) occurs when “domain names with certain international characters” look like common domain names. It’s not a new issue however, being a well known problem for several years.
You can test your own browser by following this link – does the url say http://www.paypal.com/?
For Firefox users there’s Spoof Stick which “prominently displays only the most relevant domain information”. It’s not foolproof though, and Secunia recommends that users:
Don’t follow links from untrusted sources.
Manually type the URL in the address bar.
Later… Richard Eibrand has the scoop in an ILUG post. Here’s how to disable this feature in Firefox:
- Visit about:config
- Search for “idn” in the search box.
- By default it’ll be “true”, but double click on it to set it to false.
- You don’t need to restart your browser, just go to the test page to see if it works. It did for me!

As a side note, Fuzzbucket says that IDN isn’t used much so it might be worth while having it disabled by default!
Later Still… That’s only a temporary fix as it’s reset the next time you restart Firefox. Here’s a more permanent fix using an extension that warns of IDN characters – Japanese and other sites that use those characters will still work!
Householders Against Service Charges
This afternoon while I was in town I saw a peaceful protest against household service charges on Cork’s Patricks Street. Stories in the newspapers have been accompanied by photographs of garbage piled high on the streets of Cork as the Corporation refuses to collect rubbish bins without tags. Unfortunately, bins put out at night quite often have their tags stolen. Local TD Kathleen Lynch has complained but the City Manager is on record as saying that there’s no problem!
The People’s Republic of Cork have their own analysis of the problem, offering suggestions for what Corkonians can expect for their hard earned cash.
Imagine it. A loud hailer booms: “Ladies and Gentlemen! Roll up! Roll up! For JUST A FIVER (plus the annual standing charge) have your bin collected by the amazing, the spectacular, the heavily unionised Cork City Rubbish collectors!”






At least this time I had a camera, the last time I was on Patrick’s Street 2 elephants went running past and this is all I got with my pitiful camera phone..
thinkzoo.com – the "Irish Big Brother"
Ray D’Arcy was asked about “the Irish Big Brother with cartoon animals and Irish accents”. He pointed people at redbrick.dcu.ie but the “real” address of the site is thinkzoo.com
(I discovered thinkzoo way back in December 2002)
