I have 2 pages : page1.php : - has a form with text box and a \"submit\" button. Eg :
Create a Session like shown here
You should use session and validate the user from every page and you will amaze how SESSION works! AMAZING!