Here is my code but it not work properly. I want to upload a file that is of size 50mb but fail to do so <td><label for="file">Filename:</label></td> <input type="hidden" name="upload_max_filesize" value="30000000000000000" /> <input type="hidden" name="max_input_time" value="30000" /> <input type="hidden" name="max_execution_time" value="30000" /> <input type="hidden" name="post_max_size" value="30000" /> <input type="hidden" name="memory_limit" value="30000000000000000000000000" /> <td><input type="file" name="userfile" id="file" class="button"/></td> move_uploaded_file($_FILES["userfile"]["tmp_name"], "../file/" . $filename) PHP:
Try changing both post_max_size and upload_max_filesize in your php.ini file. Optionally, you might also try increasing the memory_limit var (normally set to only 8MB) Let us know if this solves your problem
You Have To Increase it in a file called php.ini thats only if u have shell access you can try one of these solutions http://www.galaxyscripts.com/forum/index.php?showtopic=6