I want to send the contents of the textarea to this website , but what I always get is either action not found or the code of the website ..
$url = "http://www.browxy.com/";
function get_data($url , $data) {
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$res = curl_exec($ch);
if($res){
return $res;
}
else {
return false;
}
curl_close($ch);
}