[php-list] Re: Adding attachments to e-mails from a form

2008-04-06 Thread Ian
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote: Q: Is there any way to allow someone to attach a file without uploading to the web server? A: No. You have to upload the file to the tmp directory first, send it via email and then delete it. Rob. Ok, now other things i've

Re: [php-list] Re: Adding attachments to e-mails from a form

2008-04-06 Thread listgroups08
- Original Message - From: Ian --- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote: Q: Is there any way to allow someone to attach a file without uploading to the web server? A: No. You have to upload the file to the tmp directory first, send it via email and then delete it.

[php-list] Re: Adding attachments to e-mails from a form

2008-04-06 Thread Ian
--- In php-list@yahoogroups.com, [EMAIL PROTECTED] wrote: Hi Ian, This depends on if you trust what the browser sends as a MIME type? If the browser sends a MIME type then it will be in - $_FILES['userfile']['type'] however any hacker can spoof the