diar33 Posted November 6, 2006 Share Posted November 6, 2006 Hi there,I am trying to find a way to have a php contact form attach a file, but without having to upload it to the server first. Is this at all possible? I have been using the 'PHP Mailer' class for attachments, and can send a file that exists on the server no prob. I realize I can't send it from a remote location (The senders' harddrive), but is it possible to send from a temp location using $_FILES? Will I have to actually upload the file and then delete it afterwards?Thanks in advance,Travis Link to comment https://forums.phpfreaks.com/topic/26386-e-mail-attachment/ Share on other sites More sharing options...
xtentic Posted November 7, 2006 Share Posted November 7, 2006 Have u tried it already with one of the options you writen above? Link to comment https://forums.phpfreaks.com/topic/26386-e-mail-attachment/#findComment-120810 Share on other sites More sharing options...
diar33 Posted November 7, 2006 Author Share Posted November 7, 2006 Yes, all except for uploading the file and then deleting it, which I'm sure will work. I would really rather be able to attach from a temp location, if that is possible.Thanks Again,Travis Link to comment https://forums.phpfreaks.com/topic/26386-e-mail-attachment/#findComment-121171 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.