Thread: Thank you!!!
View Single Post
  #3  
Old 06-18-2005, 11:24 AM
infotech
Unregistered

Posts: n/a

Re: Thank you!!!

[quote:cc7a3ceca4="Andrew"]Dear phphq.net staff,
Thank you so much for making this great script! I have to confess, I was using mailto: and bravenet forms....

Thanks again,
Andrew[/quote:cc7a3ceca4]

I 2nd that! I have 2 comments:

1) the code line 180 [code:1:cc7a3ceca4]
$message .= "Content-disposition: attachment\n";[/code:1:cc7a3ceca4]
should be changed to:
[code:1:cc7a3ceca4]
$message .= "Content-disposition: attachment; filename=\"" . $_FILES['attachment']['name'] . "\"\n";[/code:1:cc7a3ceca4] to force some web mail readers to show the real filename for "save as". 1 of 4 webmail programs we use did not duplicate the real filename of the attachment.

2) Is there any mods for code near line 252
[code:1:cc7a3ceca4]<input name=\"attachment\" type=\"file\" size=\"30\" />[/code:1:cc7a3ceca4] so that the "browse.." button will show only files of a certain type, like .doc, or .pdf, rather than "all files"?

Thanks again for a great form.
InfoTech
Reply With Quote