Welcome to WebmasterWorld Guest from 54.198.143.210

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

curl function question

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

Junior Member

10+ Year Member

joined:Dec 7, 2004
posts:88
votes: 0


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

Thanks!

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

Preferred Member

10+ Year Member

joined:Feb 11, 2006
posts:481
votes: 0


Hi,

curl_setopt [php.net] will do it:

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

Andrew

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

Junior Member

10+ Year Member

joined:Dec 7, 2004
posts:88
votes: 0


Thanks! :)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members