anatak Posted September 12, 2009 Share Posted September 12, 2009 hello I have an upload form for pictures <form action="<?php echo $_SERVER['PHP_SELF'] . "?select=03_02"; ?>" method="post" enctype="multipart/form-data" name="uploader"> <tr><td class="content_left_allign">Picture: <input name="upload<?php echo $i; ?>" type="file" size="50"></td></tr> if I upload a small picture the $_FILES[tmp_name] has a value if I try to upload a bigger picture the $_FILES[tmp_name] is empty does anybody know where I can find and modify the maximum size value ? Link to comment https://forums.phpfreaks.com/topic/173967-solved-how-to-change-max-size-of-a-file-to-upload-with-post/ Share on other sites More sharing options...
RussellReal Posted September 12, 2009 Share Posted September 12, 2009 these are some php.ini values that you can modify to suit your needs * file_uploads * upload_max_filesize * max_input_time * memory_limit * max_execution_time * post_max_size list gathered from: http://www.radinks.com/upload/config.php Link to comment https://forums.phpfreaks.com/topic/173967-solved-how-to-change-max-size-of-a-file-to-upload-with-post/#findComment-917015 Share on other sites More sharing options...
tartis Posted September 13, 2009 Share Posted September 13, 2009 Here is what I am using for file uploads. ($_FILES["uploaded"]["size"] < 20000000)) Link to comment https://forums.phpfreaks.com/topic/173967-solved-how-to-change-max-size-of-a-file-to-upload-with-post/#findComment-917444 Share on other sites More sharing options...
anatak Posted September 13, 2009 Author Share Posted September 13, 2009 Thanks Russel, I changed the php.ini settings and now everything works as expected. topic closed anatak Link to comment https://forums.phpfreaks.com/topic/173967-solved-how-to-change-max-size-of-a-file-to-upload-with-post/#findComment-917502 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.