I have scripts where I pass some initial values to a form via the URL and store them in hidden fields on that form so they are submitted with the rest of the data. For example...
myform.php?i=5
<form...>
<input type="hidden" name="i" value="<?=$i?>">
...
</form>
If the user makes an error in the form, then it re-displays the page and the hidden field still retains its value as $i is now a posted variable (assuming register_globals is on).
But if register_globals is off, and the form redisplays due to user error, then $i is no longer going to be set (as the URL doesn't contain that name,value pair any more) and my hidden field has no value.
How do people get around this problem?