> >    header("Content-disposition: attachment;
> > filename=".$attachment->title);
> >    mgd_serve_attachment($argv[0]);
> 
> Is that working code? You send header before serve
> attachment?
> 
> Piotras

Yep (well, to be honest, I didn't invent it, I got it
from the list :-).
But the header is meant to pop up a dialog box
offering to save the attachment with the proper
original file name, not with the attachment ID as
suggested name.  Off course do not do this with
images.

p  

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to