www.webdeveloper.com
Results 1 to 2 of 2

Thread: upload to file and save to database

  1. #1
    Join Date
    Dec 2007
    Posts
    1

    upload to file and save to database

    hi every body
    i need a solution for the following scenario.

    i have a form which have
    * user name
    * user email address
    * project name
    * description of project
    * upload a file(the project) .doc or .pdf
    * summit button
    all of the above are in the same form (html)
    so i need to upload the upload data in a file called project and the rest of the information in the the database called projectdb.
    i try to do the task using php but i can't upload the file in to the file and save the rest of information in to the database at the same time after cliking the summit button. so how can i do the task using php.

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,538
    See the "How to upload images" 'sticky' post near the top of this forum. Most of it is applicable to the uploading of other file types as well.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles