I want to make a page on which if user press back,forward or refresh the page it should says invalid page and if user clicks on the link available on that page it should says valid page.
I don't want to disable back and forward button. It should be done in PHP
thanks in advance.