Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_0039_01C0D46C.4C50BCD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hallo Liste,
ich hab ein hartn=E4ckiges Downloadproblem mit dem IE 5.50.4522.1800IC.
bei dieser Version wird im Downloadfenster nur das aktuelle Verzeichnis =
aufgerufen, also bestenfalls eine index.xxx und nicht die Zieldatei. Ich =
verwende folgenden Header($download - der Dateiname - kommt =FCber =
post):
<?php
$basedir =3D "../../daten/files";
$filename =3D sprintf("%s/%s", $basedir,$download);
header("Content-Type:application/octet-stream");
header("Content-Disposition:attachment;filename=3D\"".$download."\"");
readfile($filename);
?>
Bei anderen Browser(-Versionen) funktioniert das. Wei=DF jemand Rat ??? =
Danke !
Gr=FC=DFe
Klemens
------=_NextPart_000_0039_01C0D46C.4C50BCD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hallo Liste,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>ich hab ein hartn=E4ckiges =
Downloadproblem mit dem IE=20
5.50.4522.1800IC.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>bei dieser Version wird im =
Downloadfenster nur=20
das aktuelle Verzeichnis aufgerufen, also bestenfalls eine index.xxx und =
nicht=20
die Z</FONT><FONT face=3DArial size=3D2>ieldatei. Ich verwende folgenden =
Header($download - der Dateiname - kommt =FCber post):</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><?php<BR>$basedir =3D=20
"../../daten/files";<BR>$filename =3D sprintf("%s/%s",=20
$basedir,$download);<BR>header("Content-Type:application/octet-stream");<=
BR>header("Content-Disposition:attachment;filename=3D\"".$download."\"");=
<BR>readfile($filename);<BR>?></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Bei anderen Browser(-Versionen) =
funktioniert das.=20
Wei=DF jemand Rat ??? Danke !</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Gr=FC=DFe</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Klemens</FONT></DIV></BODY></HTML>
------=_NextPart_000_0039_01C0D46C.4C50BCD0--
php::bar PHP Wiki - Listenarchive