Login to a website

Discussion in 'iOS Programming' started by efegue, Jul 16, 2008.

  1. macrumors member

    Jul 2, 2008

    I want to create an app or webapp to login to my provider website, filter the HTML and count how much traffic I did in the last month.

    I know what shoud I filter from the provider HTML but I don't know how to make the login, what should I use? I just need to "POST" a form then go to a specific url and then analyse the HTML to filter what I want.

    Can somebody enlight me, please?

  2. macrumors 65816

    Jun 29, 2007
    I found this to be a pain so what I did was write a small Perl script(Php, ASP, what ever) on my server that actually grabs that data from 4 sites and then creates a smaller xml file that my iPhone can than grab. It's much easier to login and parse sites using scripting languages like Perl/Php than it is Objective C.
  3. thread starter macrumors member

    Jul 2, 2008
    That's better. Thanks for your help!

Share This Page