Mailinglisten-Archive |
> <?
> header("Content-disposition: filename=db.csv");
> header("Content-type: application/octetstream");
> header("Pragma: no-cache");
> header("Expires: 0");
>
> $crlf = "\n";
> $client = getenv("HTTP_USER_AGENT");
> if(ereg('[^(]*\((.*)\)[^)]*',$client,$regs))
> {
> $os = $regs[1];
> if (eregi("Win",$os)) {
> $crlf="\r\n";
> }
> }
>
> echo "Hallo";
> ?>
>
> Kann mir jemand sagen, weshalb die Datei db.csv mit dem Inhalt
> "Hallo" nicht zum Download angeboten wird?
Hmm. Bei mir geht das.
-B
php::bar PHP Wiki - Listenarchive