php errors in WAMP2-Collection of common programming errors

I have a full working php script for user activation that I wrote. Fully working in a sense that it displays no errors while on my actual web hosting, although when I am working in WAMP2 I get errors such as these.

Notice: Undefined index: type in C:\wamp\www\activate.php on line 4

Notice: Undefined index: username in C:\wamp\www\activate.php on line 5

Notice: Undefined index: gender in C:\wamp\www\activate.php on line 6

Notice: Undefined index: formvalue in C:\wamp\www\activate.php on line 29

etc

I know what the problem is, it is because the page activation.php is both for the form submission from create.php (the form on create.php has a hidden value of 1 and if it exists then the form is submitted into the mysql db) and if the form value is not present then the user is activating their account.

When the user is activating, the variables that I have defined using $_POST and the hidden form value of 1 are not defined which is causing the errors.

My question is why are these errors not displayed when my pages are loaded on my actual hosting but are present in WAMP2? And do these errors matter, is it bad practice to have undefined variables? And if so how do I overcome the problem?

Thanks and I hope I explained that all ok.