Archive for the 'PHP Programming' Category

Quick method for adding multiple usernames and password to htaccess

Monday, December 11th, 2006

Ever had to add hundreds or even thousands of usernames to a htaccess file at once? Although rare this problem has come up for me recently (strangely enough with the same password as the username - obviously not a secure method but something that was necessary for the project).

The solution I created for this problem is htpmake, essentially a PHP script that takes a text file and outputs a file that of usernames and passwords you can use with your htaccess file.

(more…)

RSS Feed for BOM

Tuesday, April 18th, 2006

Given the recent burst of cyclones in Australia the BOM (Bureau of Meteorology) has been posting a lot of severe weather warnings.

Unfortunately BOM doesn’t have an RSS feed… In fact when e-mailing their webmaster I have been informed that they don’t intend to.

Because of this I am providing my own RSS feeds for the website (as I promised in my first ever post on this website). I have created RSS feeds for each state, click the relevant link to view the RSS feed relevant to you: Northern Territory, ACT, Tasmania, South Australia, Western Australia, Queensland, Victoria, New South Wales.

(more…)