Hi,
I wrote a script were the user can fill out a form, preview what they wrote and then email what they wrote. On the preview page I added an "edit" button for them to make corrections and for this button I added the code "history.go(-1)".
I wrote this all in the one PHP script/file.
My problem is that when I used a PC with Windows XP and internet explorer to view this script via the web, I discovered that the browser was treating my .php file as one loaded page. So after clicking "edit" on the preview page, the browser loaded the page that I was on before visiting the .php file, rather than load the last page (within the PHP script) that has the filled out form on it.
I DON'T have this problem when viewing the script on either Windows 98 IE 5, or Mac OS X. Is their a way to prevent it from happening.
My guess was to just make three separate php files i.e. form1.php, preview.php, sendmail.php. But if I do that, how can I prevent someone from bookmarking the preview and sendmail pages?
Thanks in advance for any help.