PHP Whois Script

Posted on Wednesday, 25th January 2006 | 16 Responses
Glenn over at SSEO asked for a script to do mass whois lookups. Use this function: [code lang="php"] function getwhois($domain, $tld) { (more...)

View Adsense Source Code

Posted on Saturday, 10th December 2005 | 2 Responses
I can be quite slow sometimes :) I only just realised that you could view the source code (html) of the Adsense javascript include in Firefox. Just right-click on the ads, choose 'This Frame' then 'View Frame Source' (obivously I knew this for normal frames :)):

Web Week in London

Posted on Saturday, 10th December 2005 | No Comments
Yesterday there was Matt Mullenweg's WordPress meet up in Covent Garden that unfortunately I couldn't get to. Then tonight is Geek Dinner with Robert Scoble. Even Danny Sullivan is attending. Address: Texas Embassy Cantina 1 Cockspur Street, London SW1Y 3DQ [Google Map or Multimap] Tel: 020 7925 0077 Fax: 020 7925 0444 Email: enquiries@texasembassy.com Tube stops: Charing Cross, Piccadilly, Leicester Square. But unfortunately I can't make this either, (more...)

IP 2 Country

Posted on Wednesday, 7th December 2005 | No Comments
Glenn asked about this in our private SEO forum, but thought I'd share it here too. I wrote this dirty shell script a couple of years ago for Wotbox, but I think it should still work. Just set it to a cron job once a day and it will give you a nice IP to country database. [code lang="bash"] thedate=`date --date=yesterday +%Y%m%d` workdir=/scripts/ipdb savfile=$workdir/ipdb.$thedate dbserver=127.0.0.1 database=ipdb dbuserpass="--user=user --password=pass" cd $workdir echo "Downloading ARIN IP database" wget -q "ftp://ftp.arin.net/pub/stats/arin/delegated-arin-$thedate" echo "Downloading (more...)

My Firefox Extensions

Posted on Friday, 2nd December 2005 | No Comments
No YATB would be complete without a list of their Firefox Extensions, so here's mine together with their links + own description: Html Validator 0.7.1 Adds HTML validation to the View Page Source of the briwser. The validation is done by Tidy, originally developed by W3C. SearchStatus 1.8 Display the Google PageRank and Alexa ranking with search-related tools. IE Tab 1.0.6 Open-IE-only pages in "embedded IE" !!! Web Developer 0.9.4 Adds (more...)