I'm trying upload audio and video files using php. In my local server $_FILES
variable does not work when i'm uploading audio or video files, however the same code properly working when uploading any kind of image. I'm checking the code in simple fresh file. (I didn't include anything in this file like js, css or any php class etc)
if(isset($_REQUEST['submit'])){
print_r($_FILES['fileToUpload']);
}
<form action="fileUpload.php" method="POST" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>
Code is in the same file fileUpload.php
. i followed steps of this answers and also update wamp server memory according this forum instructions.
Can anyone guide me what is issue that i can resolve it. I would like to appreciate if someone guide me. Thank You So Much.
"; } – Rafael Shkembi Jul 14 '16 at 07:18