try this:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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");
>
>
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
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");
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$", $
5 matches
Mail list logo