www.webdeveloper.com
Results 1 to 2 of 2

Thread: cgi script for a form to send a file to an email

  1. #1
    Join Date
    May 2003
    Location
    Colorado
    Posts
    1

    cgi script for a form to send a file to an email

    HI,

    I'm sure this has been created, but I can't seem to find it.

    I have created a form which the site visitor will fills out and the information is send to my email address. (typical form)

    I need to have a way for the site visitor to also browse his hard drive and send (upload?) a file which will attach to the email the form is sending me...

    Is there a way to do this?

    Thanks!

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    The form control can be created simply enough: an input element of type file. For parsing the uploaded data (and all other CGI parameters) you should use the CGI module. Then see MIME::Lite for generating the multipart e-mail message.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

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