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 ? Quote Link to comment 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 Quote Link to comment 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)) Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.