You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Add a semi-plausible referer header to avoid tripping up some bot traps
curl_setopt($ch, CURLOPT_REFERER, home_url());
i'd like to change the referer to google to see if i can avoid some '403 Forbidden' results (vimeo.com) - how do i do this - is the following correct: curl_setopt($ch, CURLOPT_REFERER, 'google.com');
or do i need to keep the brackets: curl_setopt($ch, CURLOPT_REFERER, 'google.com'());
The text was updated successfully, but these errors were encountered:
/modules/checkers/http.php
line 194, 195:
i'd like to change the referer to google to see if i can avoid some '403 Forbidden' results (vimeo.com) - how do i do this - is the following correct:
curl_setopt($ch, CURLOPT_REFERER, 'google.com');
or do i need to keep the brackets:
curl_setopt($ch, CURLOPT_REFERER, 'google.com'());
The text was updated successfully, but these errors were encountered: