Binary files (images, executables etc) in MySQL table. How?

Discussion in 'Web Design & Coding' started by Glaanieboy, Jul 1, 2004.

  1. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    After reading this thread, I understand that this forum stores it's attachments in binary form directly into the database. How is it done? I would like to have something similar in v2 of my Winamp Songviewer project (where people should be able to upload their own background images).
     
  2. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    If no one answers, I will have a quick look through the vb2 php when I get home and see if I can find any relevent queries.
     
  3. Khayman

    Khayman I'm sorry Hal... Political User Folding Team

    Messages:
    5,518
    Location:
    England
  4. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Thanks Khayman! And also thanks EP, but I think this guide is good enough. I don't mind if you post the relevant pieces of code though :p