$ch = curl_init();curl_setopt($ch, CURLOPT_URL, 'http://www.example.com');curl_setopt($ch, CURLOPT_USERAGENT, 'Elxis CURL');$data = curl_exec($ch);