php how to find the location where a user came from?

前端 未结 3 1224
抹茶落季
抹茶落季 2021-01-02 23:15

simple question:

how to find the location (url) where a user came from before accessing my page?

and

how to find the locati         


        
3条回答
  •  被撕碎了的回忆
    2021-01-02 23:50

    If the from page and destination pages are made by you, You can send the source page's url within GET or POST method and grab it in the destination and redirect user back to that url.

提交回复
热议问题