--- 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
- 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.
--- 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