Getting referrer url in php (including parameters)

Are there any HTTP headers that I could use to grab the entire referrer URL using a web server / server script? Including query string, etc.?

+4
source share
2 answers

You can remove it from the $ _SERVER ['HTTP_REFERER'] variable.

+10
source

Chacha, , URL- (, ). " http://www.domain.com?x=3#y=5", $_SERVER ['HTTP_REFERER'] < http://www.domain.com?x=3", - ​​ .

- ( URL-), , , .. . , AJAX - , URL ( javascript URL-).

+3

All Articles