HELP : How to suggest a download-filename for IE on MAC

From: Date: Wed, 29 Aug 2001 15:12:06 +0000
Subject: HELP : How to suggest a download-filename for IE on MAC
Groups: php.general 
Request: Send a blank email to php-general+get-65034@lists.php.net to get a copy of this message
HELP i'm desperate.... I try to write a downloadskript, which results in the fillowing URL : http://www.myserver.de/securedownload.php?pdfdownload=checkliste3.pdf yes you guessed right : securedownload does some auth-stuff .... it works on win2000 IE 6.0,5.5 NE 6.0 AND 4.76. it also works well on MAC when used with Netscape 4.5 but not when used with IE 5. it always suggests 'securedownload.php' as the filename, which of cause sucks !!!! I tried EVERY combination of the suggested headers at www.php.net/header , but can't get it to work. here is what i use : ..... header( "Content-type: application/download\n" ); header( "Content-Disposition: filename=$download" ); header( "Content-Description: PHP3 Generated Data" ); set_time_limit(0); readfile('/home/path/to/myfiles/securepdfs/'.$download); .... Anyone ever found a solution for MAC ?????? ( i hate Mac, but my boss uses one, so ....... ) Sebastian

« previous php.general (#65034) next »