Video file Uploading

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • poorna

    Video file Uploading

    hi all,

    Can any body guide me please how to upload video files using php
    and how to maintain it?
    Is there any thing diffrent way to upload a video files?

    Regards,
    poorna

  • Erwin Moller

    #2
    Re: Video file Uploading

    poorna wrote:
    hi all,
    >
    Can any body guide me please how to upload video files using php
    and how to maintain it?
    Is there any thing diffrent way to upload a video files?
    >
    Regards,
    poorna
    Hi,

    It is all well described at www.php.net:



    It doesn't matter if your file contains a video or text. The uploading
    logic is the same.

    Good luck.

    Regards,
    Erwin Moller

    Comment

    • poorna

      #3
      Re: Video file Uploading

      Hi,
      >
      It is all well described at www.php.net:
      >

      >
      It doesn't matter if your file contains a video or text. The uploading
      logic is the same.
      >
      Good luck.
      >
      Regards,
      Erwin Moller

      hi

      i checked it..
      It looks like it completes the upload but when I look in the album
      folders I see no videos or audio. I get no error message.
      this is my problem ..
      plz help me to come out from this


      regards
      poorna

      Comment

      • Erwin Moller

        #4
        Re: Video file Uploading

        poorna wrote:
        >
        >Hi,
        >>
        >It is all well described at www.php.net:
        >>
        >http://nl3.php.net/manual/en/features.file-upload.php
        >>
        >It doesn't matter if your file contains a video or text. The uploading
        >logic is the same.
        >>
        >Good luck.
        >>
        >Regards,
        >Erwin Moller
        >
        >
        hi
        >
        i checked it..
        It looks like it completes the upload but when I look in the album
        folders I see no videos or audio. I get no error message.
        Do you mean you don't see an error during the process or that no error
        occurs?
        Because the latter can only be tested with $_FILES['userfile']['error']

        Make sure you check what is in there.

        The reason fileuploads do not work can be a lot of things.
        Be sure you find out WHICH step is not working.

        A few common mistakes:
        1) Do say in your HTML-form-definition the enctype for the form:
        enctype="multip art/form-data"

        2) Can PHP write to the tempdirectory?
        This is where PHP stores the file when it receives it. It will be destroyed
        when the script end, so it is your scripts responsibility to MOVE IT OUT
        before it ends.

        3) Can PHP write to the targetdirectory ?
        Are you sure PHP has rights to write in the targetdirectory ?

        Anyway, you should just debug your script, be sure you read through the
        documentation, especially the 'common pitfalls' part, and also the usefull
        usercontributed notes.

        Regards,
        Erwin Moller


        this is my problem ..
        plz help me to come out from this

        >
        >
        regards
        poorna

        Comment

        • poorna

          #5
          Re: Video file Uploading

          thanks for ur reply..

          i tried to upload../
          (now the KB files was uploaded)
          But MB files was not uploaded...
          what can i do for this??

          regards
          poorna

          Comment

          • Erwin Moller

            #6
            Re: Video file Uploading

            poorna wrote:
            thanks for ur reply..
            >
            i tried to upload../
            (now the KB files was uploaded)
            But MB files was not uploaded...
            what can i do for this??
            >
            regards
            poorna
            Hi poorna,

            You probably hitted the max size for an uploaded file.
            The good news: You can change the max size for an uploaded file in php.ini,
            or via ini_set().

            Check php.ini for: upload_max_file size

            I think it is set to 2MB standard. CHange it to what you think is more
            appropriate in your situation.

            You can find the directives here:


            You are almost finished.

            Good luck!

            Regards,
            Erwin Moller

            Comment

            • poorna

              #7
              Re: Video file Uploading



              thanks for your reply...
              i changed the upload_max_file size to 15m in php-ini file ...
              now the video file(which is in KB size) was uploaded..
              but the video file(which is in MB size) was not uploaded...
              i cant to find the error..
              what can i do for this??
              plz help me to come out from this..


              Regards
              poorna

              Comment

              Working...