-L should be rewritten as: ``curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); ``
-L should be rewritten as:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);