hello
i wrote a program that should transfer some data itself and bank
when bank finish the action it should go to the my site... but the $_SERVER['HTTP_REFERER']; didn't work ( it doens't show the last web site(bank site link))(it is empty or dosen't set)
but for other site it works so good but for some sites that uses SSL protocol it doens't work!!!
what should i do?
is it diffrent for SSL sites? why $_SERVER['HTTP_REFERER']; works for some sites with SSL? but it doesn't work for me? is it possible to adjuest some settings in my web site?
$_SERVER['HTTP_REFERER'];
Moderator: General Moderators
Re: $_SERVER['HTTP_REFERER'];
The referrer won't be sent when going from non-secure to secure. That happens by design.
Re: $_SERVER['HTTP_REFERER'];
The referer header is set by the users browser which can be manipulated or changed, and sometimes disabled. So don't count on it always being there.
Re: $_SERVER['HTTP_REFERER'];
Thanks a lot for your helpful information