Forum Moderators: coopster
$ch = curl_init("http://example.com/");
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,5);
curl_setopt($ch, CURLOPT_LOW_SPEED_LIMIT, 5);
curl_setopt($ch, CURLOPT_LOW_SPEED_LIMIT, 20);
curl_setopt($ch, CURLOPT_MAXREDIRS, 2);
curl_setopt($ch, CURLOPT_TIMEOUT, 300);
curl_exec($ch);
curl_close($ch);