I have sequential function call which take few seconds of processing time. I faced this error:
Is there any way to remove this error?
I got this answer from previous threads:
You should check the max_execution_time setting in the php.ini files on your server and on your local installation.
Is there any other solution for this?
MyURLDecode
is as below:
function MyURLDecode($url)
{
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => $url,
CURLOPT_HEADER => false,
CURLOPT_NOBODY => true,
CURLOPT_FOLLOWLOCATION => true,));
curl_exec($ch);
$follow_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
curl_close($ch);
return $follow_url;
}