Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    7

    Unanswered: Saving pdf articles in MYSQL

    Hi guys,

    I have pdf documents that I want to store in MYSQL DB. I am not sure if MYSQL supports this and what data type I will be using for pfd files.

    Can anyone help

    Motho

  2. #2
    Join Date
    Sep 2003
    Location
    United States
    Posts
    65
    Provided Answers: 1
    I'm not whether u can store the pdf files (or any other files), but its not a good idea (even in SQL and Oracle). Usually they just store a path of a file in database and locate that file based on the info in the database when ever needed.
    >>
    >> Learn PHP/MySQL for free https://www.youtube.com/watch?v=mpQts3ezPVg
    >> Free Web Hosting with PHP, MySQL, Website Builder : http://www.000webhost.com/862861.html

  3. #3
    Join Date
    Apr 2004
    Location
    Europe->Sweden->Stockholm
    Posts
    71

    Blob

    If you want to store binary data you should probably use the BLOB data type. The manual is your friend, and will gladly tell you all about BLOBs.

  4. #4
    Join Date
    Mar 2004
    Posts
    7

    saving pdf files

    Thanks guys. I think I will just referrence the file.

    ta

Posting Permissions

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