tz8
-
Posts
4 -
Joined
-
Last visited
Reputation Activity
-
tz8 got a reaction from andrewatfornax in getting Banner with cURL
just in case anyone needs this in the future - this doesn't seem to be a common problem around here based on the sheer amount of responses:
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieJar); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieJar); curl_setopt($ch, CURLOPT_REFERER, APP_URL.'/fancy_changing_fake_url_here/page/'); i managed to successfully get banners when i pass curl a cookiejar for the entire session and an always changing referrer
-
tz8 got a reaction from Richard Foley in getting Banner with cURL
just in case anyone needs this in the future - this doesn't seem to be a common problem around here based on the sheer amount of responses:
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieJar); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieJar); curl_setopt($ch, CURLOPT_REFERER, APP_URL.'/fancy_changing_fake_url_here/page/'); i managed to successfully get banners when i pass curl a cookiejar for the entire session and an always changing referrer