Why is there many php.ini files in a system?

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

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

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.