Re: [PHP] popping up download dialog box

2003-07-21 Thread Michael Müller
try this: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] popping up download dialog box

2003-07-18 Thread Curt Zirzow
Binay Agarwal <[EMAIL PROTECTED]> wrote: > Hi every body ! > > I am writing a script which pops up download dialog box on click of a Link. > > Headers i m sending out for downloading jpegs are: > > header("Cache-control: private"); > header("Content-Type: image/jpeg"); >

Re: [PHP] popping up download dialog box

2003-07-18 Thread Binay Agarwal
> To: <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 4:00 PM Subject: Re: [PHP] popping up download dialog box > On Friday 18 July 2003 06:34, Binay Agarwal wrote: > > Hi every body ! > > > > I am writing a script which pops up download dialog box on click of a &g

Re: [PHP] popping up download dialog box

2003-07-18 Thread Jason Wong
On Friday 18 July 2003 06:34, Binay Agarwal wrote: > Hi every body ! > > I am writing a script which pops up download dialog box on click of a > Link. > > Headers i m sending out for downloading jpegs are: > > header("Cache-control: private"); > header("Content-Type: image/jpeg");

Re: [PHP] popping up download dialog box

2003-07-18 Thread desa15
if (!empty($file['file_data'])) { if (get_user_os() == "MAC") { header("Content-Type: application/x-unknown\n"); header("Content-Disposition: attachment; filename=\"".$file ['file_name']."\"\n"); } elseif (get_browser_info() == "MSIE") { $disposition = (!eregi("\.zip$", $