Just about every tutorial I've seen says that PHP creates vars submitted from a form automatically.
ex: form has a hidden var <input type=hidden name=var1 value=value1>
when you hit submit, it's my understanding that this code should output to the screen "value1"
neither of these seem to work... I get this error:
Notice: Undefined variable: var1 in C:\_MyProjects\www\phpTest\upload3\script.php on line 11
however this does output the correct value:
what's the deal? is it something in PHP.ini that needs to be set?
I'm new to PHP and can't seem to find this anywhere on the net. Also it's on an XP/IIS running PHP.