1, it will go to a site url (http://www.orcon.net.nz/my_orcon/) then insert username + password so it longs into my account.
2, then to click on a dynamic link:
This is the code for where the link is in, could a script be able to find the word "Broadband Authentication" and then go to the link before that?
<tr> <!-- UBS --> <td class="panel_bodyleft"></td> <td class="panel_body" width="1%"><a href="/cgi-bin/WebObjects/OSM.woa/1102/wo/GyeGRY1K5mCt2xy4vYgkj0/1.45.3.5.0.0.9.OcnSplash.0.16.18.23.1.3.0"><IMG src="/appearance-v2/default/general_usage.gif" border="0"></a></td> <td class="panel_body"> <a href="/cgi-bin/WebObjects/OSM.woa/1102/wo/GyeGRY1K5mCt2xy4vYgkj0/1.45.3.5.0.0.9.OcnSplash.0.16.18.23.1.5.0">Broadband Authentication</a> (<I>Surfer Broadband</I>) </td> <td class="panel_body" width="1%"></td> <td class="panel_body" width="1%"><a href="/cgi-bin/WebObjects/OSM.woa/1102/wo/GyeGRY1K5mCt2xy4vYgkj0/1.45.3.5.0.0.9.OcnSplash.0.16.18.23.1.15.0"><IMG src="/appearance-v2/default/general_more.gif" border="0"></a></td> <td class="panel_bodyright"></td> </tr>
3, Then find the words "Total data:" and take the "8.70" and store it in mysql or just remember it....
<tr> <td class="gen_subhead" colspan="3">2008-06-23 <IMG src="/appearance-v2/default/sm_arrow_right.gif" border="0"> 2008-07-22</td> <td class="gen_subhead" colspan="4" align=right>Total time: 188.20 hours</td> <td class="gen_subhead"></td> <td class="gen_subhead" colspan="5" align=right>Total data: 8.70 GB</td> <td class="gen_subhead" colspan="5"></td> <td class="gen_subhead" colspan="2"></td> </tr>
4, Then logout from site (optional)
5, Then to display the number 8.70 on my home page?
Is this possible?
Can php do this or does it need a different programming language?
Many thanks for any help you can provide.

New Topic/Question
Reply




MultiQuote





|