How does php remember which link on the page is clicked by tourists? next time I log on to this page, I will jump directly to that link. now there is A page with two links on it & nbsp; pointing to & nbsp; URL & nbsp; B & nbsp; and & nbsp; C suppose a visitor clicks the link of website B on site A and how to write code & nbsp; this will automatically jump to B & nbsp when the next visitor logs on to A. thank you, php. remember which link on the page is clicked by the visitor. The next time the visitor logs on to this page, he will jump directly to that link.
Now there is A page
There are two links pointing to website B and Website C respectively.
Suppose a visitor clicks the link of website B at Site.
How can I write code to automatically jump to B next time A visitor logs on to A? thanks.
Share:
------ Solution --------------------
Hash has little to do with the web page, just to generate a unique non-repeated string, see
Http://www.php.net/manual/en/function.hash.php
Echo hash (md5, strtotime ('Now '). $ _ SERVER ['remote _ ADDR']);
Database
Hash url
50b744170230a4cad75d4dc37bf9079e a.com/ B .html