Hi,

I am trying to read the content of url into string using following code

curl_setopt($ch, CURLOPT_URL, $new_url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$store_content = curl_exec ($ch);

When i am trying to print the string using
print("content is: ".$store_content);

it is printing the whole html page in the browser but when i try to take length of the content using
$contentlength=strlen($store_content);

it is returning only 256.

and when i try to fetch index of particular string say 'Description' from the content using

$description_start = ' Description';
$description_start_pos=strpos($store_content,$description_start);

it is returning false. But the string is present in the page and i have seen it physically.

Can anybody help me out and tell me where i am going wrong?

Thanks in advance.