I am about to develop an application for the iOS devices, that will need to store information in a database on the web. For previous projects, i would just have PHP scripts, and my application would run those scripts and passing in the stuff to upload as _GET parameters, like this:
http://example.com?name=George&contents=iWillBePutIntoDB
However, this is not possible for my next project, as it will contain rather large amount of text, and i could exceed the maximum allowed length of a URL.
So, how do i go about doing this? I cannot access the MySQL database directly from my app, since my shared hosting provider doesn't allow it due to security reasons. So i can only access it using PHP scripts that are stored directly on the server.
In short: How do i upload large amount of text to a MySQL database that doesn't allow access from anywhere except files on the server itself (PHP scripts)?
Thanks everyone!