How can I get the html source code of http://www.example-webpage.com/file.html without using file_get_contents()?
I need to know this becau
Try http://php.net/manual/en/curl.examples-basic.php :)
As the documentation says:
The basic idea behind the cURL functions is that you initialize a cURL session using the curl_init(), then you can set all your options for the transfer via the curl_setopt(), then you can execute the session with the curl_exec() and then you finish off your session using the curl_close().