Results 1 to 2 of 2

Thread: upload to file and save to database

  1. #1
    Join Date
    Dec 2007

    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
    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.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

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