simple PHP curl function below example function is used to send the form data or post data to remote server . i have mentioned detailed explanation on comments. Code Download Code function curl($url, $method = ‘get’, $header = null, $postdata = null, $timeout = 60) { $s = curl_init(); // initialize curl handler curl_setopt($s,CURLOPT_URL, [...]