Hi,
I have a file upload for which I have done the below validation it but it throws a error :
but it gives 3 error as :Code:if ((($_FILES["name"]["type"] == "image/gif") || ($_FILES["name"]["type"] == "image/jpeg") || ($_FILES["name"]["type"] == "image/pjpeg")) && ($_FILES["name"]["size"] < 20000)) {
Regards,Notice: Undefined index: name in C:\wamp\www\w3schools\welcome.php on line 40
Notice: Undefined index: name in C:\wamp\www\w3schools\welcome.php on line 40
Notice: Undefined index: name in C:\wamp\www\w3schools\welcome.php on line 40
Sourabh.