I’ve already covered up with English stackoverflow, but the problem hasn’t been fixed. And here it lies in this: first there was an error, everyone advised to replace $_POST with filter_input(INPUT_POST,"name") .
But now, after compilation, an error is displayed on the page:
Can not use isset () function call (you can use "null! == func ()" instead)
<?php if(isset( filter_input(INPUT_POST,"name") )){ if (filter_input(INPUT_POST,"name" == "admin") && filter_input(INPUT_POST,'pass' == 'admin')){ header("Location:newpage.php"); } } ?>