Quote:
Originally Posted by Stefan
I'm wondering if you really need php? It's possible to make post-requests and similar with TSocket if it's enabled on the server.
|
While most likely possible (I've never used TSocket or seen any examples of its usage), I think that seems overkill for doing something like a POST request, especially given that to do a GET request we don't have to request anything like sockets.
Perhaps it wouldn't be out of line to request a function similar to requesturl for post data? Maybe something like, requestpost(url, "a=1&b=2") which would handle performing the POST request for us and wouldn't require us to request sockets be enabled.
Would probably also be nice to get a url encoding function (percent/form encoding) so data is properly encoded when performing the request.