hankknight
asked on
CURLOPT_FOLLOWLOCATION alternative
Hello.
I found that this line gives a warning on my installation of PHP because of security settings that I cannot change.
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
I think the reason is because open_basedir is set.
My understanding is that this line says to follow a redirect if it occurs.
https://www.experts-exchange.com/questions/21973032/open-basedir-setting-causing-warning.html
Is there another way to accomplish this, with open_basedir set?
Thanks!
I found that this line gives a warning on my installation of PHP because of security settings that I cannot change.
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
I think the reason is because open_basedir is set.
My understanding is that this line says to follow a redirect if it occurs.
https://www.experts-exchange.com/questions/21973032/open-basedir-setting-causing-warning.html
Is there another way to accomplish this, with open_basedir set?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.