The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 2 of 2

Thread: PHP File Upload Problem

  1. #1

    PHP File Upload Problem

    Hello all,

    A php file upload script that used to work for me is no longer. The uploads generate a PHP file error of "1", which mean "The uploaded file exceeds the upload_max_filesize directive in php.ini", according to the PHP docs.

    The problem is that the "upload_max_filesize" option in my php.ini is bigger than the files I am attempting to upload.

    Any idea what else could cause the error, other than the files being too big?

    Thanks for any help!

  2. #2

    Try This....

    Hello mafordha,

    Following are step to increase size limit when uplaod i

    1) Create a .htaccess file in the root folder of web server.
    2) Put the following code in side the .htaccess file and save it.
    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200

    Get back to me if you have any query or issue


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012