473,383 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Attach multiple files

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
1 2224
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My...
5
by: erez | last post by:
Hello How can i attach an html file to TableRow in HtmlTable control that run at server, the code should be in server side. thanks
1
by: kevcar40 | last post by:
i have a form that i want to attach files to as hyperlinks the problem is there could be upto 10 files attached to the form or maybe none How can i go about 1 creating the attachements and...
7
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
2
by: calebmichaud | last post by:
Hi I am having trouble understanding how to attach a file or files to a record. I want to (in form view0 allow the user to attach one or more than one file to the associated record, and then...
3
by: Malaya | last post by:
Hi All, Could you please help me out with a piece of code. I need to write a code for attaching files using Browse option.Say when you click the Browse button,it should take me to a page where I...
5
by: rrkrishna24 | last post by:
Can someone guide how to code in simple HTML, how to browse the files and attach them. That is, when I click a button say "Attach", a window should be opened with which one can browse the files in...
9
by: rohithcs | last post by:
I need a piece of code which could attach all the files stored in a folder. The files in the folder can be *.xls, *.doc or *.pdf. I will be having only the path of the folder and file names in the...
1
by: ziycon | last post by:
I'm getting this error when i try to attach a DB:
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.