#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Johannesburg, South Africa
    Posts
    10
    Rep Power
    0
    Hi,

    I need advise. I am working on a messaging system using PHP3 and MySQL. People sign-up and log in and are shown messages sent to them. They are also supposed to receive MS Word attachments. What will be best - if the sender (who also logs onto the system) sends the attachment via the site and PHP saves it in a directory somewhere - and the database will contain a HTTP link to where it is - or "uploading" the entire file into the database. I think the second option is out as it might slow the database down. If this is a silly question please excuse but I am learning still and this message board has already helped me.

    Also - which commands can I use to either save the attachment into MySQL or into a directory?

    Regards
    Tony
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Chicago IL, USA
    Posts
    16
    Rep Power
    0
    I too would like to learn about whether one can insert files into a MySQL database. I need to do this with PDF files.

    If anyone has any information, I would be grateful for your sharing.

    michael

Similar Threads

  1. Word attachments - PHP + MySQL
    By tonyds in forum PHP Development
    Replies: 2
    Last Post: May 25th, 2004, 12:40 PM
  2. How popular is PHP and mySQL?
    By tomdude48 in forum PHP Development
    Replies: 3
    Last Post: October 26th, 2003, 12:17 PM
  3. How can a dummy get started with APACHE, PHP and MySQL?
    By TotalBeginner in forum Beginner Programming
    Replies: 4
    Last Post: October 20th, 2002, 04:03 PM
  4. PHP and MySQL book
    By taalebi in forum PHP Development
    Replies: 4
    Last Post: November 15th, 2001, 10:47 AM
  5. PHP and MySQL on Apache Liux/Win 98
    By vu3prx in forum Apache Development
    Replies: 2
    Last Post: October 31st, 2001, 10:59 AM

IMN logo majestic logo threadwatch logo seochat tools logo