Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: attaching files from a web-based form

by dorko (Prior)
on Apr 11, 2003 at 00:24 UTC ( #249773=note: print w/replies, xml ) Need Help??


in reply to attaching files from a web-based form

Let me start by saying I don't have an answer to your problem.

From your research, you know how to (A) send an attachment if it's already a file on the server. If you can learn how to (B) use a form to save a file to your server, then you can use (B) + (A) to do what you're looking for.

(Demonstrate to the Monastery a good faith effort that you have tried and failed to do this on your own, and odds are, you'll get some better help. (i.e. show some code...))

Cheers,

Brent
-- Yeah, I'm a Delt.

Update: a Super Search on "mail attachment form" lead me to this thread, including the ubiquitous pointer from merlyn to one of his columns.

  • Comment on Re: attaching files from a web-based form

Replies are listed 'Best First'.
Re: Re: attaching files from a web-based form
by Anonymous Monk on Apr 11, 2003 at 02:14 UTC
    After reading up on everything all I could figure out was how to save things to the server and use them then. If that were my goal I wouldn't have had to ask help, I'd rather have a form upload send files on the fly rather than having an external program to upload files and another to send the with. I will take a look at the thread you posted, thanks dorko.
      I don't think it's possible to not save the file at least temporarily before emailing. In any case, you can upload the file, save it, email it, and delete it all in one script. You wouldn't need to have multiple programs.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://249773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-08-13 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?