[PHP] attachment problem

2003-01-13 Thread Lars Olsson
Hi all! I'm writing a webmail application in PHP and most basic things are working now. However, I've recently run into a problem concerning mail attachments. This is the situation right now: When the user opens a letter there are links to all attachments. The links looks like this:

RE: [PHP] attachment problem

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
-mail: [EMAIL PROTECTED] -Original Message- From: Lars Olsson [mailto:[EMAIL PROTECTED]] Sent: Monday, 13 January 2003 11:05 PM To: [EMAIL PROTECTED] Subject: [PHP] attachment problem Hi all! I'm writing a webmail application in PHP and most basic things are working now

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
Yes, I've tried using the Content-Disposition header. It doesn't seem to work...here are the relevant parts of my code: snip // Change Content-Type so that it matches the MIME-type of the part header('Content-Type: ' . $type . '/' . $subtype); // Check if there is a name for the part if

RE: [PHP] attachment problem

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
: Lars Olsson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 January 2003 7:15 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] attachment problem Yes, I've tried using the Content-Disposition header. It doesn't seem to work...here are the relevant parts of my code: snip

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
It doesn't matter whether I choose 'inline' or 'attachment', browser doesn't seem to care...but at least I found out why wget -S got me text/html instead of image/bmp. I had some session variables that messed things up, but I hacked it a bit and now wget -S is giving me the following headers:

Re: [PHP] attachment problem

2003-01-13 Thread Lars Olsson
Well, I'll be damned...don't know why, but suddenly everything seems to work! Guess some little gnome inside my computer finally decided it was time for me to get some sleep... Many thanx for for your help, Timothy! /Lars ([EMAIL PROTECTED]) Lars Olsson wrote: It doesn't matter whether I

Re: [PHP] attachment problem

2002-02-09 Thread Analysis and Solutions
Hi Olev: There are several threads on this in the archives. In fact it was discussed just the other day. http://groups.google.com/groups?hl=engroup=php.general Put mime email into the search criteria and that discussion is the third one down. Enjoy, --Dan -- PHP scripts

[PHP] attachment problem

2002-02-08 Thread Olev Rumm
Hello gurus, need some help here please. I have mail php script with out attachment possibilities. How can I add attachment in to this one? ? $MailToAddress = [EMAIL PROTECTED]; $MailSubject = subject; if (!$MailFromAddress) { $MailFromAddress = [EMAIL PROTECTED]; } $Header =

RE: [PHP] Attachment problem with web based mail

2001-03-21 Thread Grant Walters
We hired a developer about a year ago to develop a web based email system for us in php. The developer is no longer around, so I am having to pick up the development on the project...When clicking on the attachment link of an email in Internet Explorer 5.5 in Windows 98, I get the save as

Re: [PHP] Attachment problem with web based mail - CODE SAMPLE

2001-03-21 Thread almir
if you want to change the behaviour of IE or NN with save, then you have to change header of the page you are sending with header comand -almir ""Grant Walters"" [EMAIL PROTECTED] schrieb im Newsbeitrag 001101c0b1f8$d7c52080$[EMAIL PROTECTED]">news:001101c0b1f8$d7c52080$[EMAIL PROTECTED]...

[PHP] Attachment problem with web based mail

2001-03-20 Thread lists
We hired a developer about a year ago to develop a web based email system for us in php. The developer is no longer around, so I am having to pick up the development on the project...When clicking on the attachment link of an email in Internet Explorer 5.5 in Windows 98, I get the save as dialog