I just need text data. I can't find the answer to it anywhere.
views:
44answers:
2
A:
I am not familiar with cURL but you can use get filecontents
<?php
$homepage = file_get_contents('http://www.example.com/');
echo $homepage;
?>
Mark
2009-11-13 00:13:46
+4
A:
Well, cURL will not download the images, but only the HTML text. You might have image tags in there, but that doesn't make PHP download the appropriate images.
Franz
2009-11-13 00:14:24
Got it. Thanks. It's because I'm dispalying the content of the cURL, which is html, that prompts the browser to download images.
manny
2009-11-13 00:17:12
you are right. The only way he would be downloading the images I guess would be if he had some kind of cURL spider script.
Mark
2009-11-13 00:17:23