Hi all,
I'm using InternetReadFile() to successfully send form data via the 'GET' method to a url, eg:
And it works great... that is, except when the url length exceeds 2048 characters!
Ideally, I need to be able to send such amounts of data to the script via the 'POST' method which doesn't have the limitation on form data size/length.
However, I'm a bit confused as to how to do this. Is it possible to do this via the InternetReadFile() API still and if so how do I do it? If not, what APIs should I be using and how do I pass the formdata into the script?
Thanks
I'm using InternetReadFile() to successfully send form data via the 'GET' method to a url, eg:
Code:
[URL unfurl="true"]http://example.com/myscript.php?a=something&b=somethingelse[/URL]
And it works great... that is, except when the url length exceeds 2048 characters!
Ideally, I need to be able to send such amounts of data to the script via the 'POST' method which doesn't have the limitation on form data size/length.
However, I'm a bit confused as to how to do this. Is it possible to do this via the InternetReadFile() API still and if so how do I do it? If not, what APIs should I be using and how do I pass the formdata into the script?
Thanks