Jump to content

Go back in history


lAZLf

Recommended Posts

PHP has no concept of a users history, the best you could do would be to redirect to the refering page which can be found within $_SERVER['HTTP_REFERER'].

 

Without extra help on your part, this is true.  However it would not be difficult to keep a stack of "request history" where the URL and POST data was saved.  You could then perform a "go back to history item X in the past" by using HttpRequest and posting to your own site the same data it received.

Link to comment
https://forums.phpfreaks.com/topic/186094-go-back-in-history/#findComment-982769
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.