ok, Currently i am doing a web email system. when connecting to my pop mail server, i will use imap_body to get the full email body.
In order to customise my coding to more efficiecy, I store the attachemtn in the raw EMAIL which the user receive. So, I will run a body process function to seperate the message body and attachment.
So, I need to creat a link for teh user to download the attachment from this process. The only way the user can download correctly is from the browser 'save target as' function.
If php can't do this, how about javascript. But what i concern here is, if the user's pc doesn't support Javascript well, then they might not able to download the attachment also. Or, any suggestion to this?