I was using
$HTTP_POST_VARS["upload"] == "Upload data"
To see if the form has been submitted, this works but php says
Warning: Undefined index: upload in c:\inetpub\apache\upload.php on line 3
3: if ($HTTP_POST_VARS["upload"] == "Upload data") {
Or if I use
$upload == "Upload data"
To see if the form has been submitted, this works but php says
Warning: Undefined variable: upload in c:\inetpub\apache\upload.php on line 3
3: if ($upload == "Upload data") {
Should I just turn the warnings off, beacuse they seem to be useless?