= INET_ATON('".$_SERVER['REMOTE_ADDR']."') LIMIT 1"); $location=mysql_fetch_row($locationq); mysql_free_result($locationq); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, "http://newton.newtonsoftware.com/career/SubmitQuestionnaire.action?clientId=8ad8dbd13a8d33f4013a8eec9e92410e&gnewtonResize=http://newton.newtonsoftware.com/career/GnewtonResize.htm&id=".urlencode($job[internal_id])."&specialization="); curl_setopt($ch,CURLOPT_POST, count($_POST)); foreach($_POST as $key => $value){ $fields_string.="&".urlencode($key)."=".urlencode($value);} curl_setopt($ch,CURLOPT_POSTFIELDS, substr($fields_string, 1)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); $result = str_replace("
", "