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 cho

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 Timothy Hitchens \(HiTCHO\)
e- > From: 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 s

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: // 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 (isset($na

RE: [PHP] attachment problem

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
So you have tried as per the manual: header("Content-Disposition: attachment; filename=downloaded.pdf"); I use this all the time without issue.. do you have a shell that you can use to "wget -S" and see if the correct headers are coming out?? Timothy Hitchens (HiTCHO) Open Platform Consulting

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=en&group=php.general Put "mime email" into the search criteria and that discussion is the third one down. Enjoy, --Dan -- PHP scripts

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

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 sav

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

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