tags:

views:

44

answers:

2

I just need text data. I can't find the answer to it anywhere.

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
+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
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
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