Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 18, 2007, 1:02 am
rate this thread
Re: HTTP/URL Question
I have made this code and have tried it its running fine and I think
this will resolve your query..
$ch = curl_init("http://www.zimaudio.com /");
$fp = fopen("curl/example_homepage.txt", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
$source = "curl/example_homepage.txt";
$html = file($source);
for( $i=0; $i<count($html); $i++ )