Data extraction from file
Great community you have here.
I really need to get this thing working to save me alot of time,
Basically im making a program that logs into my website control pannel, and downloads a bandwidth report of a specific domain. the report downloaded is a html file. I am only interested in the number of MB used:
As shown above what i need is the 2.04 MB extracted from the .html file and placing in a varible.
<TABLE WIDTH=100% CELLSPACING=1 cELLPADDING=0><TR><TD COLSPAN=""><DIV CLASS=m><A HREF="http://control.***.com:6998/cp4.exe?BWMACTION=1&startdate=10-09-2003&enddate=10-10-2003&ID=508328">domain.com</A></TD></DIV><TD COLSPAN=""><DIV CLASS=m> 2.04 MB</TD></DIV></TR></TABLE></font>
If anyone can show me an example of how i can do this, including opening the file for editing as i am not sure of the correct way of doing this.
N.B there is alot of other not needed code in the html file.
Thanks very much,