Curl Ikuti Redirect PHP
// follow redirects automatically (HTTP status 301, 302 and the like)
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
TechNyquist
// follow redirects automatically (HTTP status 301, 302 and the like)
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);