Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    4
    Member #
    16212
    I have designed forms on my web site using HTML and CGI-EMAIL to process the forms to my email. That works great plain text.

    But I need to put a "file upload button" to work on one of my pages form. I use Dreamweaver and have the button in place. I just need help with the code to make the button perform properly. I am not sure if CGI-EMAIL can handle this action? I would

    If you have any suggestions please help me out.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Not sure what you mean by CGI-EMAIL, do you have a link to a website? (http://web.mit.edu/wwwdev/cgiemail/ maybe?)

    To have a file upload box you need to have some form xhtml that looks like
    HTML Code:
    <input name="file" type="file" />
    Once clicked that will open a dialog box in which you would select the fileyou wish to upload.


    Do you need help with the actual uploading? What does your host support, just perl?

  4. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    4
    Member #
    16212
    <input type="file" id="upload" size="48" />

    I have the Xhtml code: my problem comes in on the server side.
    Here is the form: http://www.realestateloop.net/menu/contributeform.html
    Im not sure how to go about setting this function up on the server side:

    The form works just fine. i get the text (name, Email,...etc). i just dont get the file.

  5. #4
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    What languages does your host support? CGI-EMAIL sounds perl to me, maybe they have an addon that accepts files?

  6. #5
    Junior Member
    Join Date
    Dec 2007
    Posts
    4
    Member #
    16212
    http://www.hostmonster.com/

    Here is my host.. and If you click "Live Demo" The cpanel will come up. I dont see anything like what your talking about, but maybe you can take a look. cgiemail is perl.

    here is a link to cgi-email : http://web.mit.edu/wwwdev/cgiemail/user.html and the instructions on how i set it up.


    Thanks for your help

  7. #6
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Seeing as your form-emailer is written in Perl it would make sense to do the uploading in perl too, http://www.sitepoint.com/article/upl...files-cgi-perl

    Also maybe search this forum, I think someone would have already asked this question. Good luck.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:27 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com