Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 9, 2012, 06:44 AM   #1
Thelle93
macrumors newbie
 
Join Date: Oct 2012
Submit form to a website, that is not mine?

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?

Thanks
Thelle93 is offline   0 Reply With Quote
Old Nov 9, 2012, 08:12 AM   #2
waterskier2007
macrumors 68000
 
waterskier2007's Avatar
 
Join Date: Jun 2007
Location: White Lake, MI
Send a message via AIM to waterskier2007
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?
__________________
2012 Mac Mini, 2.6 GHz, 16GB RAM, 1TB HDD
2.4Ghz 15" Macbook Pro
16 GB iPhone 5 : 32 GB iPhone 4S : 16 GB iPad 3
16 GB Nexus 7 (2012)
waterskier2007 is offline   0 Reply With Quote
Old Nov 9, 2012, 08:17 AM   #3
Thelle93
Thread Starter
macrumors newbie
 
Join Date: Oct 2012
Here's an example of the form:
http://www.laroy.se/?id=64140&cid=

Yes I think it is an API.
Thelle93 is offline   0 Reply With Quote
Old Nov 9, 2012, 08:46 AM   #4
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 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:

http://en.wikipedia.org/wiki/Html_form
PhoneyDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
What would you do? SUBMIT A POST iPodJedi iPod 3 Dec 5, 2013 02:59 AM
General: How to submit an iOS 7 bug? -Reaper- iOS 7 1 Sep 27, 2013 06:19 PM
What's mine is mine - Using Lion on multiple computers dswallace Mac OS X 10.7 Lion 1 Dec 17, 2012 03:31 AM

Forum Jump

All times are GMT -5. The time now is 11:38 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC