Submit form to a website, that is not mine?

Discussion in 'iOS Programming' started by Thelle93, Nov 9, 2012.

  1. Thelle93 macrumors newbie

    Oct 7, 2012
    I'm building an iPhone application and I'm trying to upload a submit form that includes "name" + "value" to a website form. The website is not mine, will I be able to do that with PHP? If so, how? What resources can I use? :)

  2. waterskier2007 macrumors 68000


    Jun 19, 2007
    Novi, MI
    It sounds like you would have to figure out the structure of the page that you want to post to. What do they use to post to it? Is it publicly available? Do they maybe have an API you could implement?
  3. Thelle93 thread starter macrumors newbie

    Oct 7, 2012
  4. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    When a web form is submitted a POST or GET is generated in a certain format (application/x-www-form-urlencoded, or multipart/form-data).

    All of the NSURLConnection wrappers have support for this. See AFNetworking and ASIHTTPRequest.

    Also see:

Share This Page