how can i write program with php to up load file

Posted on 2006-05-10
Last Modified: 2006-11-18
How can i write pro gram to up load file with is very big such as 800 M with php it a sing le file
Question by:teera
    1 Comment
    LVL 12

    Accepted Solution

    you can upload huge files using php but you will have to make changes in the php.ini file to allow the
    memory etc

    you can get more detail from this link...

    The alternative is to use a .htaccess file in the root of your site
    1) create file named ".htaccess" in root folder (unless one already exists)
    2) add the following line
    php_value upload_max_filesize "20M"
    This will again only change the local setting but will apply it to every file on your site without having to use ini_set

    Hope this helps you!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    A colleague recently asked me about how to give his client a small part of the web site that could be completely under the client's control.  Since I have done this sort of thing before to add emergency banners to a web site, I decided I would creat…
    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    760 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

    11 Experts available now in Live!

    Get 1:1 Help Now