How do I prevent a user to use each *.php?cat='
- by shakur
I got one form ... each category has different ID...
Example:-
http://localhost/control/newdpppage/...bank.php?cat=3
http://localhost/control/newdpppage/...bank.php?cat=4
Each user after login they go to the page assigned for them ...
-The Question..
How do i prevent User1 that can see cat=3 to see the data on cat=4 assigned for User2.
Thank you
I use for that JavaScript
JavaScript Code:
<SCRIPT language=JavaScript>function reload(form){var val=form.cat.options[form.cat.options.selectedIndex].valueself.location='dpp_add_lorthbankphp?cat=' + val;}</script>