For some reason file upload is not working for this .ppt file that I am trying to upload. I have tested it with another ppt file (approximately 250kb) and it worked fine... but this one is 10mb and the $_FILE array is empty when I echo it. Can you guys tell me what I am doing wrong?? I know my PHP file is right.
index.php:
<form action="http://localhost:80/phpconverter/upload.php" method="post"
enctype="multipart/form-data" target="upload_target">
<input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE"
value="102400000" />
Choose a file to upload:
<input id="fileName" name="uploaded_file" type="file" />
<input type="submit" value="Upload"/>
<iframe id="upload_target" name="upload_target" src="#"
style="width:200px;height:500px;border:0px solid #fff;"> </iframe>
</form>
When checking if the file is empty or not (i.e. empty($_FILES["uploaded_file"]) I see that the file is empty, when I have in fact uploaded a file!!