Automatically login to Eircom stats site

September 29, 2009 by · 1 Comment 

Usage

Ok, so it’s pretty annoying having to login to the eircom site each time you want to check your usage. I figured there must be an easier way. What I needed to do was automatically submit the login form and go me to the stats page, quite simple really! There’s two parts, the login form and the onload event that tells the browser to submit the form when the page has loaded.

Just replace the opening body tag with this:

<body onload="window.document.stats.submit()">

And put this inside the body tags:

<form method="POST" name="stats" action="http://broadbandsupport.eircom.net/stats.asp">
     <input type="hidden" name="username" value="YOUR-PHONE NUMBER" />
     <input type="hidden" name="password" value="YOUR ACCOUNT NUMBER" />
</form>

*NOTE: Your phone number must be in the format [areacode-number]

I plan on making an iGoogle gadget for this. I will also try and support other ISPs. I must also put my PHP skils to the test and try to dynamically generate the html and let users download the complete html file for use with their account.

STAY TUNED!

UPDATE: Here is the full html document. Just right-click and “save target as”. You’ll then need to open the file in notepad to enter your phone number and account number.

About Conor
Conor Hackett is a Computer Science student at Griffith College Dublin. More info here

Comments

One Response to “Automatically login to Eircom stats site”

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!