sending http response to post
Posted: Fri Jul 17, 2009 9:09 pm
I have made a php script that tales a $_POST input from a different website and then parse the data and send a response back to the sender. There will be many senders who do $_POST 's to the script but I cant figure out how to send the response back toe the requester.
The response from that post is just a comma delimited string of data. Like:
ERROR
abc1 or NOERROR.
Any idea how can I simply send a http response? I looked at the curl function, I think it is more for posting the data to a url
Appreciate your help.
The response from that post is just a comma delimited string of data. Like:
ERROR
Any idea how can I simply send a http response? I looked at the curl function, I think it is more for posting the data to a url
Appreciate your help.