http://a836-acris.nyc.gov/Scripts/DocSearch.dll/BBL
The cURL got a 405 not Allowed error
<?php
$post_fields = array(
'g.hid_borough.value' => $_POST['1'],
'g.hid_block.value ' => $_POST['995'],
'g.hid_lot.value ' => $_POST['1'],
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://a836-acris.nyc.gov/Scripts/DocSearch.dll/BBLResult'); // set the remote url
curl_setopt($ch, CURLOPT_POST, 1); // yes we are posting
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields); // this is our POST data
curl_setopt($ch, CURLOPT_HEADER, 0); // no headers in output
curl_setopt($ch, CURLOPT_VERBOSE, 1); // verbose output, good for debugging
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);// $ch will return the results of your POST when you execute
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); // the remote sites often check for a known user agent
$result = curl_exec ($ch);
curl_close($ch);
echo($ch);
print $result
?>