Using Curl except file_get_contents
I have a script. It's using file_get_contents.
I heard that curl is more efficient from file_get_contents
what is the equivalent code for curl?
$data = file_get_contents("http://www.xxx.com");
I want this with curl .
How can i do it ?
|