Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rens

macrumors newbie
Original poster
Jun 9, 2009
10
0
Hey guys,

So, I'm really (and then I mean really really) new to iPhone SDK. Now, I wanna make an app that can log in to a http form but without actually going into safari. I only need the data from the site and I want to login with just a user name and password. I want something like the authentication tab of asihttprequest, but only the authentication part. Anyone know how?

P.S. The method is post and it's a php site. please just keep it really simple
 
Create a NSURLRequest and and NSURLConnection, you set the contents of the body in the request and use the POST method to authenticate with the server.
 
How?

And how exactly do I do this? Can you give an example please?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.