How to upload large size file in php




















You might need to consider the your temp file location uploaded file is initially stored at this location also. It should have enough space so that it can save the uploaded file. You must keep in mind that multiple users might be uploading files at the same time when deciding the temporary location.

For these php. Check your web server configuration files for the following setting as they may not allow to upload large size files. Camera manufacturers continually brag that they have a larger set of megapixels than their competitors.

However, even low-end compacts have 12MP and mobile phones have more than 5MP. The result is that a typical snapshot can easily be 6MB in size. Fortunately, we can increase the limit when necessary. However, you also need to consider the time it takes to complete an upload. What does phpinfo says about loaded php. Your Common Sense Your Common Sense k 37 37 gold badges silver badges bronze badges.

Sharpnel: I done what u wrote, but still in phpinfo shows 2MB — Surej. Sharpnel,I will try it myself,If i upload successfully then i will tell you. Put the following code in side the. Your Common Sense k 37 37 gold badges silver badges bronze badges. Mohammad Efazati Mohammad Efazati 4, 2 2 gold badges 33 33 silver badges 49 49 bronze badges.

Changed the server settings in this way Try setting it with within PHP script on top.. PHP script do not handle upload itself. It is being actually called only after upload gets finished.

Efazati, Entry can be set in php. Shrapnel, I guess you are right. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science. Featured on Meta.

New post summary designs on greatest hits now, everywhere else eventually.



0コメント

  • 1000 / 1000