|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Hi there, I was wondering if anyone can help me?
I am trying to track down a feedback form similir to Matt Wright's script that would allow the the sending of File Attachements added to the email by the user. I am looking at using MIME email format, with an auto detection of mime type. I would like the user to select a file via a browse button, then when the form is processed it attaches the file as a mime attachement. Is there anyone who could help me? or provide me with some urlsof where I could find such a script?? Thanks Mystik |
|
#2
|
|||
|
|||
|
Have you found your script? CGI.pm, which you surely have, will allow file uploads. There is a small security (is that an oxymoron?) issue with allowing file uploads and it is not universally compatible...
I recommend Lincoln Stein's book on CGI.pm but his program examples (including a file upload demo and script) are here: http://stein.cshl.org/WWW/software/CGI/examples/ Try the demo, it's pretty cool. Once you have the file on your server, the MIME::Lite perl module can send a MIME encoded email in just a few lines. -Alan |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > File attachemtns for Web page Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|