1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Guru's Please Help

Discussion in 'HTML, Graphics & Programming' started by PiKe, 24 Mar 2006.

  1. PiKe

    Caporegime

    Joined: 18 Oct 2002

    Posts: 25,132

    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:p[email protected] 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
     
  2. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,316

    Location: Plymouth

    That's not really a login then...weird...why's it like that?
     
  3. PiKe

    Caporegime

    Joined: 18 Oct 2002

    Posts: 25,132

    Location: Lake District

    I've set a pass and now it works :D