hi, curl is on my server 🙂, but seem to have a problem posting to a .do file, here is the code i am using
<?php
// create a new curl resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, "https://services.hibernian.ie/direct/HibernianDirectWeb/houseEnterDetailsAction.do?method=initiateSave");
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = array('confirm_assumptions' => 'Checked');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// grab URL, and return output
$output = curl_exec($ch);
// close curl resource, and free up system resources
curl_close($ch);
echo $output;
?>
[code=php]
it does not seem to be getting the post, the first page for the input is
http://www.hibernian.ie/direct/HibernianDirectWeb/house_home.jsp
any ideas?
thanks