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
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:
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
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
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
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
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]...
> 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
> 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
9 matches
Mail list logo