showing an error

Fatal error : Uncaught Error: Undefined constant “image” in C:\xampp\htdocs\advphp\uploadfyl.php:4 Stack trace: #0 {main} thrown in C:\xampp\htdocs\advphp\uploadfyl.php on line 4

if($_FILES['image']['type']==="image/jpeg")

You are missing inside double quotes , because its string

Additional Info: use professional screenshot plugin “GoFullPage” extension available in chrome

1 Like