File upload of unlimited size using php

Posted on 2011-05-03
Last Modified: 2013-12-18
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.
Question by:jacobbbc
    LVL 7

    Expert Comment

    by:Vimal DM

    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

    Author Comment

    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.
    LVL 12

    Expert Comment

    by:Mohamed Abowarda
    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.
    LVL 107

    Accepted Solution

    without making any change in php.ini file

    I am moved to ask, "why not?"

    Perhaps you can set up something using FTP.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now