what is other option for HTTP_REFERER in php?

Posted by user251336 on Stack Overflow See other posts from Stack Overflow or by user251336
Published on 2010-06-01T08:08:31Z Indexed on 2010/06/01 8:13 UTC
Read the original article Hit count: 163

Filed under:
|
|

Hi all,

I want to know is there any option/work sround for $_SERVER['HTTP_REFERER']. Because 'HTTP_REFERER' can not be trusted. Then What is other way to know that from which url the request has came from?.

Here is the situation - http:// abc.com/one.htmlwill have an iframe having src=http:// xyz.com/giv.php?param=1. How giv.php on xyz.com will know that request is coming from http:// abc.com/one.html?

© Stack Overflow or respective owner

Related posts about php

Related posts about html