PHP and HTML Problem: Why does Uploading files input not work with some files?
-
I created an upload system with php .But the input of files doesn't send any data from SOME files(more than 1MB or 2MB).Why? <form method="post" enctype="multipart/form-data"><input name="userfile" type="file" /></form> (I don't wanna upload the files.I just want to save the NAME of the files into database) By the way, I changed the value of post_max_size and upload_max_filesize to 9999999M and still doesn't working.
-
Answer:
It's the upload_max_filesize that is your problem... Where did you set that value? You can set it in one of two places: Either .htaccess or php.ini. Generally speaking, I've had more success setting it in .htaccess as follows: php_value upload_max_filesize 9M
mina S at Yahoo! Answers Visit the source
Related Q & A:
- Why are Swiffy files incapable of sound on iPads?Best solution by Ask Different
- Why doesn't ClickOnce in Visual Studio deploy content files from dependent assemblies?Best solution by Stack Overflow
- Why is the last input printed twice in the text.txt?Best solution by dreamincode.net
- Can Sony Vegas pro 8 work with .MOV files?Best solution by iorgsoft.com
- How we can solve this html problem?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.