RE: [PHP] Attachments again
| From: | Caspar Kennerdale | Date: | Mon, 12 Nov 2001 12:06:52 +0000 |
| Subject: | RE: [PHP] Attachments again | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74263@lists.php.net to get a copy of this message | ||
On the attachment subject,
does anyone know how to specify multiple mime types?
I have my attachment script, however people may be using it to send gifs,
swfs, or text files
I am specifyinmg the mime types like this
$type = "image/gif";
$header .= "Content-Type: $type;
wuld I do something like turn $type into an array or do something like
$type = "image/gif | mimetype/2 | mimetype/3 | mimetype/4";
THis doesnt seem to work (obviously mimetype/ * = a specified mime type)
Thanks in advance for any suggestions
Caspar