Problem with uploading larger files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Silencet
    New Member
    • Aug 2007
    • 24

    Problem with uploading larger files

    Hey every one,

    I've recently set up a site using http/php and have been studing php for a while, i've got a problem of trying to upload a video, i cam to this site, because alot of my C++ solutions have been solved here so im guesing the same with php as i've already search for my solution here, but found no answer. i'm doing it the same way you would upload an image, however after hours of searching the web, i've seen that you must change the php.ini file max file upload and ect. i have however i used the move_uploaded_f ile code and it keeps returning bad, even after i changed the ini file. and i would much rather not go into ftp, cuz i've look up how to do it but i still have yet to learn it and how to use it (apache 2.2). so if some one could learn me a new way of uploading large files with php it would be greatly appriciated.
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    Please execute the phpinfo() and postback the current configuration settings for these settings.
    • file_uploads
    • upload_max_file size
    • max_input_time
    • memory_limit
    • max_execution_t ime
    • post_max_size

    Comment

    • ak1dnar
      Recognized Expert Top Contributor
      • Jan 2007
      • 1584

      #3
      Thread Title [another Video Upload problem ] changed
      Please read the FAQ's to find out how to create a good thread title.

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        Hi and welcome to TSDN!

        Are you receiving any errors?
        If the uploads doesn't work you can usually find the reason behind it by looking at the $_FILES['myfile']['error'] value. Could you check that value and post it here?

        Comment

        • Silencet
          New Member
          • Aug 2007
          • 24

          #5
          Ok i retried every thing today, and for an odd reason it worked, not that that's a bad thing, i'm now wondering, does it take a while for php to notice if changes have occured in the ini file? if not then i have no idea what i was doing wrong the other day

          Comment

          • ak1dnar
            Recognized Expert Top Contributor
            • Jan 2007
            • 1584

            #6
            Originally posted by Silencet
            Ok i retried every thing today, and for an odd reason it worked, not that that's a bad thing, i'm now wondering, does it take a while for php to notice if changes have occured in the ini file? if not then i have no idea what i was doing wrong the other day
            It's a not a new thing for developers, It has happened to me few times. anyhow glad to hear you got it working.

            Comment

            Working...