Results 1 to 3 of 3

Thread: file upload with php files

  1. #1
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    42
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default file upload with php files

    How do I attached a file from my hard drive to my form for submission. Upload a file from the visitors drive and attach with the information submitted with the form.

    Thanks
    Timmytiger32@hotmail.com

    ps. I would like the uploaded file to be forwarded along with the collected information from the associated form to a predetermined email address.
    Last edited by Jamcan; 04-10-2006 at 04:45 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    What you need is a server side form processing script that supports file uploads. For example: http://php.resourceindex.com/Complet...ile_Uploading/

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Or, if you actually want to learn how to do it yourself, see http://www.php.net/features.file-uploads.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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