Jump to content

Need help!! :(


siddscool19

Recommended Posts

How can we slow down speed of a script..... While sending data using curl its skipping the data due to high server speed. I am not able to get the script to work :(

 

Here is the function

function getquote($postonelink){
$ch2 = curl_init();
    curl_setopt($ch2,CURLOPT_URL, $postonelink);
    curl_setopt($ch2,CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch2,CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($ch2,CURLOPT_CONNECTTIMEOUT,"120");
curl_setopt($ch2,CURLOPT_COOKIEFILE,"cookie.txt");
$souvik123 = curl_exec($ch2);
    curl_close($ch2);
return $souvik123;
}

I am not able to get the return code :(

What to do to fix it?

 

There must be a way to control it.......

Link to comment
https://forums.phpfreaks.com/topic/129621-need-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.