PHP Guru's Please Help

Caporegime
Joined
18 Oct 2002
Posts
25,287
Location
Lake District
I have a webpage http://192.168.1.1/doc/online.sht which requires login with a blank username/password, or username and no password.

I have tried using user:pass@ but that hasn't worked, can anyone suggest how I can get the contents of the page into a var then extract the number 7521 (which is of variable length) out of the following...

Code:
<td align=right width=20%>
<font face="Verdana, Arial, Helvetica" size=2 color="green"> 23960388</font>
</td>
<td align=right width=20%>
<font face="Verdana, Arial, Helvetica" size=2 color="green"> 0</font>
</td>
<td align=right width=22%>
<font face="Verdana, Arial, Helvetica" size=2 color="green"> 7521</font>
</td>
</tr>
</table>

Thanks
 
Back
Top Bottom