$_SERVER['HTTP_REFERER' x javascript:history.go(-1) ?
-
Hello
I am looking to replace the javascript: history.go (-1) by the variable $ _SERVER [‘HTTP_REFERER.
But I noticed the following. Example:
Home page -> Page 1 -> Page 2 -> Page 3, javascript: history.go (-1) returns the same path, ie, Page 3 -> Page 2 -> Page 1 … etc..
While the <php echo $ _SERVER [‘HTTP_REFERER’];?>, back to the preceding page, ie Page 3 -> Page 2 -> Page 3 -> Page 2.
Please, how can I solve?
Tks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘$_SERVER['HTTP_REFERER' x javascript:history.go(-1) ?’ is closed to new replies.