php: Get html source code with cURL

Nickasaurr

New Member
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 because on some webhosts allow_url_fopen is disabled so you can't use file_get_contents(). Is it possible to get the html file's source with cURL (if cURL support is enabled)? If so, how?Thanks.
 
Back
Top