Gary Howard wrote:
Hi
It seems PHP does not like the way the data is "POST"

there appears to be nothing in the _POST array...hence nothing to return

shouldn't you simply be able to  OutString := 'IDString=ABCD"

then load the DataOutStream with OutString?

Please post your Delphi code that sends the request to the PHP script. The same I said before is true for the request: the request must be composed of an HTTP header and the payload in order to be handled properly by the script.

Take a look at the demo to see how the full request is made. The payload (Request Body) you quoted seems correct:
        "IDString=ABCD&Submit=Submit"

but it depends on the complete data sent to the script in order to work properly. The THttpCli component should encapsulate the HTTP protocol correctly, sending the correct HTTP method, headers, and payload.

        dZ.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to