Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    1,032

    can't use php to upload movie and music type files?

    It seems that I am not able to upload any mp3 or mpg typed files using a php uploader script....

    Are there any extensions I need to enable for me to be able to upload those kind of files??

    Thank you for the advice
    -=- GQ Hong -=-
    GalacNet WebMaster

  2. #2
    Join Date
    May 2003
    Location
    Bayreuth, Bavaria, Germany
    Posts
    175
    Have a look on phpinfo(), how big uploaded files may be! (Default is 2MB)

    Michael

  3. #3
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    1,032
    I have set it to 16M and tried with a 1mb html file and it works.
    But when I try a mpg or mp3 it fails. Even if I renamed it to the htm extension it would still fail to upload....
    -=- GQ Hong -=-
    GalacNet WebMaster

  4. #4
    Join Date
    Feb 2002
    Location
    New York
    Posts
    1,156
    Does it produce any error? Also there is a setting for mamximum time to accept user input. If your connection is slow it probably times out?
    DawHB.com - Web Hosting Blog | VPSHostDir.com - VPS Hosting Media

  5. #5
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    1,032
    Nope there is no error at all.
    I tried a file that is almost as big as the music file but then the otehr file that is in html coding gets throught but the music does not upload or uploads as a 0 bytes file
    -=- GQ Hong -=-
    GalacNet WebMaster

  6. #6
    Join Date
    Jul 2004
    Location
    Reporting Live from Marrz
    Posts
    254

  7. #7
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    1,032
    Yes Solved
    -=- GQ Hong -=-
    GalacNet WebMaster

Posting Permissions

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