Thanks rudi. What i mean by loading is to use the same saved html file inside this function curl_setopt instead of test.html .
I tried this but it value of url didn't get loaded properly !!PHP Code:curl_setopt($curl, CURLOPT_URL, 'test.html'
Furthermore, is it possible to save the remove file inside a folder instead of current directory where this script runs ?PHP Code:curl_setopt($curl, CURLOPT_URL, 'http://localhost/testFolder/'.$id.'.html.');




Reply With Quote