Results 1 to 5 of 5

Thread: Problem with Form and file upload
      
   

  1. #1
    Darctanion is offline Sergeant First Class
    Join Date
    Nov 2007
    Posts
    58

    Default Problem with Form and file upload

    Hello all,

    I put together a form on my website with multiple file uploads. The Form works fine without the file uploads, but when i added them in...i click submit and nothing happens.

    Site is www.drwdesigners.com/templateform.html under quote then template form.

    My thanks.

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Problem with Form and file upload

    Your submit button is outside the form.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    Darctanion is offline Sergeant First Class
    Join Date
    Nov 2007
    Posts
    58

    Default Re: Problem with Form and file upload

    Thanks Watdaflip,

    I moved the submit button onto the form field.

    Also i found the upload tutorial and i pasted the code to make uploads work. Problem is now on the form there is a bunch of code words all over the top of the form. www.drwdesigners.com/templateform.html

    Anyone know the fix?

    Thanks.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Problem with Form and file upload

    This is never going to work. You have done the following mistakes:
    1. You have pasted the php script of the "How to upload a file using a form" tutorial, in your form page. It doesn't go here, it should go in your action (thank you) page.
    2. The code appears because the page is html. When you paste it in your thank you page, you should publish the page as php and not as html.
    3. The script is onlu intended for one upload field, and not for many. You either change it or you simply use ABVFP that will automatically take care of the multiple uploads.
    4. In any case, if you use this script, modifyingit for multiple files, change the http://www.yourdomain.com/uploads/ to be your real domain name and upload folder.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Darctanion is offline Sergeant First Class
    Join Date
    Nov 2007
    Posts
    58

    Default Re: Problem with Form and file upload

    Thank you Naval very imformative as always =)
    Will do.

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49