I\'m trying to upload a file to my server But the problem is the if(isset($_FILES[\'upl\'])) always returns false
my php:
if($_SERVER[\'REQUEST_METHO
You forgot the enctype in the form.
enctype
form
<form action="" method="post" enctype="multipart/form-data"> <label for="file">Logo</label> <input type="file" name="upl" /> <input type="submit" disabled="disabled" value="" /> </form>