Forum Moderators: coopster

Message Too Old, No Replies

How can i bypass/fix cURL followlocation while open basedir is active?

header -> locations arn't working with cURL.

         

BlackDex

9:57 am on Mar 19, 2007 (gmt 0)

10+ Year Member



Hello there,

Is there any way i can bypass the security for the cURL followlocation option?

When open_basedir is enabled i can't use the followlocation option of the cURL library.

Is there anyway to fix/bypass this feature?

Thx in advance.

coopster

11:33 pm on Mar 19, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You could monitor the status being returned and handle accordingly. Search for "followlocation" on the curl_setopt [php.net] manual page and you'll find a user-contributed note to get you started down the right path.