Hi I wanna do litle cache page to prevent that when I submitting some data into form and hitt submit button php inserts data into mysql database. but when I push refresh button in IE php submits data into mysql database again and again.
To prevent this problen I figured out to use header function but the problem is that I want to do little script that cheking out which page I am coming form and redirects me to the page where I coming from.
so the question is How I can know which page I am coming form????