sound file into a database

Discussion in 'PHP' started by t6werserv, Jan 23, 2010.

  1. #1
    Is it possible to dwonload and upload the sound file into a database how?
     
    t6werserv, Jan 23, 2010 IP
  2. astkboy2008

    astkboy2008 Peon

    Messages:
    211
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no
    you cant
    you can upload it in your server
     
    astkboy2008, Jan 23, 2010 IP
  3. t6werserv

    t6werserv Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    no .. why??
     
    t6werserv, Jan 23, 2010 IP
  4. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #4
    chandan123, Jan 23, 2010 IP
  5. t6werserv

    t6werserv Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    good sample, thank you.
     
    t6werserv, Jan 23, 2010 IP
  6. hasanbasri

    hasanbasri Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    sure you can
    BLOB type field is made for this reason...you can store anything in your database...
    some peoples think that storing images or vids in a server as files is best than storing them in a databas..but thy are wrong
     
    hasanbasri, Jan 24, 2010 IP
  7. FCM

    FCM Well-Known Member

    Messages:
    669
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    155
    #7
    Don't do it you will BLOB down your database speed. Unless you want your database to be almost impossible to backup and restore go ahead :)
     
    FCM, Jan 24, 2010 IP
  8. RDJLabs

    RDJLabs Peon

    Messages:
    170
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can store any type of format in database but you can store it in binary format while fetching you cannot give download directly to the clients specially on web
     
    RDJLabs, Jan 24, 2010 IP
  9. ryantetek

    ryantetek Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    If you store images or sound files in database it will slow your db and probably get corrupted.Upload your big files,(music,images) into your directory,store the path in your db, and use that path in retrieving them.
     
    ryantetek, Jan 24, 2010 IP