Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

curl function question

6:20 pm on Sep 9, 2007 (gmt 0)

10+ Year Member

Hi, I wonder if it's possible to set the referer URL when calling an external page with this function, and how.


6:24 pm on Sep 9, 2007 (gmt 0)

5+ Year Member


curl_setopt [php.net] will do it:

curl_setopt($ch, CURLOPT_REFERER, "http://example.com/");


2:27 am on Sep 10, 2007 (gmt 0)

10+ Year Member

Thanks! :)

Featured Threads

Hot Threads This Week

Hot Threads This Month