Upload & Download

Discussion in 'PHP' started by The-Marshal, Jul 5, 2010.

  1. #1
    could you tell how to upload and download from database using php.
    but also when i upload i have specific extensions like pdf, doc, htm....and specific size.

    really i need the answer....
    Thank you for advance
     
    The-Marshal, Jul 5, 2010 IP
  2. Snell

    Snell Member

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #2
    Upload & download from a database ?

    Or from a specific directory
     
    Snell, Jul 9, 2010 IP
  3. damoolag

    damoolag Well-Known Member

    Messages:
    311
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #3
    You mean you wan't to save a file on a database?
     
    damoolag, Jul 9, 2010 IP
  4. The-Marshal

    The-Marshal Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanx for reply ..
    sorry for cofusing you... look
    i want to when i upload the file from a specific directory .... directly shows in other page like
    i had abook i want to upload it with specific information like name, size, type... so when i upload it automaticly shows in Download page..
    i hope you get what i mean...
     
    The-Marshal, Jul 9, 2010 IP
  5. sickness01

    sickness01 Member

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    to do that you would need to have it upload and insert into the database with the information u specified (name, size, type) and also the link of the uploaded file, like: http://example.com/downloads/book.pdf
     
    sickness01, Jul 11, 2010 IP