Uploading Large Flies with php uploader

by 5 replies
8
Hey!

I am working on a site that has an admin where flv files are uploaded. as you know, these files are large and cenrtain restrictions in php are not allowing me to upload. I've tried to change the default settings with hidden fields in the form, but no luck.


cant upload large files?
#programming #flies #large #php #upload large files #uploader #uploading
  • Hello ,
    problem not with hidden fields .
    you have to change your php.ini configuration
    here you go
    first of all change the max_execution_time
    default value is 30 seconds.
    in big files uploads you need some more time then you have to change it
    max_execution_time = 900
    same change for the next value max_input_time
    max_input_time = 900
    then you go to the option post_max_size which define the maximum size of posted data .
    lets change it for 1 gigabyte
    post_max_size = 1024m
    your last option to change is post_max_size
    you can set it for 1 gigabyte too
    post_max_size = 1024m
    after you change those values save your php.ini then you done
    • [1] reply
    • thanks, that's a big help! Just another question, is there a way to change it just for this script, without having the change the default for the entire site?
      • [1] reply
  • Banned
    [DELETED]
  • Banned
    [DELETED]

Next Topics on Trending Feed

  • 8

    Hey! I am working on a site that has an admin where flv files are uploaded. as you know, these files are large and cenrtain restrictions in php are not allowing me to upload. I've tried to change the default settings with hidden fields in the form, but no luck.