[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 606
  • Last Modified:

File upload of unlimited size using php

How can i upload a file of unlimited size in php without configuring the file upload size in php.ini file. If not possible in php is there any other language in which i can do so? Please can you provided the code also.
1 Solution
Vimal DMCommented:

In PHP .ini file

make the changes according to ur need

; Maximum allowed size for uploaded files.
upload_max_filesize = 32M

and restart the xampp server
jacobbbcAuthor Commented:
I need a php (or any other language) code for file upload of unlimited size without making any change in php.ini file. Whatever may be the upload size in php.ini , i shall be able to upload files of any size using the code.
Mohamed AbowardaSoftware EngineerCommented:
PHP.INI cause serious limitation, if it's set to 10MB max. you can't upload more than 10MB file, the only want in PHP is that you change it to a higher value.
Ray PaseurCommented:
without making any change in php.ini file

I am moved to ask, "why not?"

Perhaps you can set up something using FTP.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now