How extract php response query string after posting data to external server using html post form?
page:delivery.php
<form name="form2" method="post" action="http://dev.site.com/pay/transactionresult" id="form1">
<input type="hidden" value="<?php echo $amt;?>" name="amt" />
<input type="hidden" name="merchant" value="abc">
<input type="hidden" name="orderid" value="<?php echo $orderid;?>">
<input type="hidden" name="referenceid" value="<?php echo $referenceid;?>">
<input type="submit" value="submit"/>
</form>
I think the outcome is xml as the developer guide shows
Response
<response>
<response_code>
success
</response_code>
</response>
<response>
<response_code>
failure
</response_code>
</response>
How to get the response ? Please show in code. can the response code be in the delivery.php
?