Help Me Uncaught ValueError : Path cannot be empty I want to empty upload to

$att_cer = addslashes(file_get_contents($_FILES['att_cer']['tmp_name']));
  if ($_FILES["att_cer"]["size"] > 1000000) {
	header("location:../add_client.php?r=2290");
	}else{
	}

This is PHP code not JS

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!