[PHP] browser back-button problem

2002-10-16 Thread marcel
hi there I am kind of a newbie to php so probably I am doing it all the wrong way - if - please tell me ok heres my problem: the script: I have a user-group-administration script (php4), that loads data from a textfile and then eables the admin to delete or create new user-passwords. the script

Re: [PHP] browser back-button problem

2002-10-16 Thread Jonathan Sharp
Take an md5 of the entire file contents and store that in your form that get's displayed. Then test if it matches the file when you go to make the changes. Every time you change the file the md5 will change. See below... -js Sample script: ? $file = file('/your/text/file.txt'); if (