PHP script to process NSURLRequest from iphone
Posted
by tech74
on Stack Overflow
See other posts from Stack Overflow
or by tech74
Published on 2010-06-17T10:18:40Z
Indexed on
2010/06/17
10:23 UTC
Read the original article
Hit count: 275
Hi, i will be sending a POST request to login.php on my server from an iphone app over HTTPS. The POST is created using NSMutableURLRequest. Is there an example of a PHP script to process this POST on my server. The POST isn't sent as a form as such , anyway not that i think it is. Not sure how NSMutableURLRequest formats this. I just need to know how to access the POST data on the server with the php script.
All the examples ive seen regarding php scripts processing POSTS seem to be do with forms. So how do i process this? Any links etc most welcome.
Thanks
© Stack Overflow or respective owner