By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

Attach multiple files

P: n/a
Jyo
Hi All!

I have problem regarding multiple file attachment. Can any one help
regarding script like gmail provides for attach a file with remove
link ? Also please note that this code should compatible with MAC -
safari browser.

Thanks & Regards,
Jyotsna.
Dec 31 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mon, 31 Dec 2007 16:19:03 +0100, Jyo <jy************@gmail.comwrote:
I have problem regarding multiple file attachment. Can any one help
regarding script like gmail provides for attach a file with remove
link ? Also please note that this code should compatible with MAC -
safari browser.
Some pointers:
1. Use a session.
2. Let the user upload files without sending the message immediately.
3. Store the files somewhere safe, delete them on session destroy/user
clicks remove link.
4. On send, retrieve the contents of the files and add them in a multipart
mail message (look at http://pear.php.net for some nice code that will
make this easy).

However, before you do all this, consider: aren't you writing something
that has been done to death, and maybe there's allready code out there
that does exactly what you want?
--
Rik Wasmus
Dec 31 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.