24 users online (1 members and 23 guests)  


  Results 1 to 3 of 3

Related

  1. Uploading File Script    Forum: Website Scripts Forum
    Replies: 6
  2. Replies: 3
  3. Replies: 4
  4. Uploading and unzipping files on server    Forum: Web Hosting Forum
    Replies: 7
  5. Uploading and unzipping files on server    Forum: HTML Forum
    Replies: 7
  1. #1
    sonirajesh's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2007
    Posts
    1

    File uploading with PHP on server

    i am having trouble with uploading, when i upload big size file like >2M
    it hang the browser and show blank screen and file does not get upload.

    upload_max_filesize is set 8M

    also added set_time_limit(0); in my script

    But same thing on local network works file, seems problem in more setting.

    please help

    Rajesh Soni

  2. #2
    firmaterra's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    81

    Re: File uploading with PHP on server

    Check that the script time is okay also in your PHP.ini file. Increase these two settings:
    max_execution_time = 30 ; Maximum execution time of each script, in seconds
    max_input_time = 60


    Also it takes time to upload data. Normally longer than downloading the same amount. Can you reproduce the script here so we can have a quick look at it?

  3. #3
    Boddingtons's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2007
    Posts
    2

    Re: File uploading with PHP on server

    ive also found its a good idea to contact your web provider to see they have made the changes at their end.



Tags for this Thread