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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to