Yes, that worked for some Form variables, but not all.
I have set the register_global to On just to make some examples
work.
However, I have some files where the variable is being used first before the actual Form is submitted. Those variables are still flagged as undefined variable error.
Example: Assume file is called abc.php
<?php
if (!$shoesize) {
?>
<FORM METHOD=POST ACTION="abc.php">
<INPUT TYPE="text" NAME="shoesize">
<INPUT TYPE="submit" value="Go">
</FORM>
<? } else { ?>
Size is <?=$shoesize ?>
<? } ?>
Thank you very much.