share your understanding of php register_globals values on and off_php basics:
the value of register_globals can be set to: on or off. let’s give a piece of code to describe respectively. their differences.
code:
<form name="frmtest" id="frmtest" action="url"> <input type="text" name="user_name" id="user_name"> <input type="password" name="user_pass" id="user_pass"> <input type="submit" value="login"> </form>
when register_globals=off, when the next program receives you should use $_get['user_name'] and $_get['user_pass'] to accept the passed value. (note: when the method attribute of