Posted by Janwillem Borleffs on 09/27/39 11:37
Ian Collins wrote:
> I'm not sure if I've overlooked a config option, but the following
> HTTP POST request gives an empty $_POST array and $_GET['fred']=42...
>
> HTTP POST /js/test/testRequest.php?fred=42 HTTP/1.1
>
Search google for info about the HTTP protocol. A POST request should look
something as follows:
POST /js/test/testRequest.php HTTP/1.1
Host: hostname.com
Content-Type: application/x-www-form-urlencoded
Content-Length: <length of the string 'fred=42'>
fred=42
JW
Navigation:
[Reply to this message]
|