Mailinglisten-Archive |
> $name = "csv_test.csv"; > $filedir ="/usr/local/httpd/htdocs/test/"; > $filename = sprintf("%s/%s", $filedir, $name); > header("Content-type: text/comma-seperated-values"); > header("Content-Disposition: attachment; filename=\"".$name."\""); > readfile($filename); > return($name); Sollte nicht in $name der ganze Pfad drinstehen bzw. statt $name -> $filename ?
php::bar PHP Wiki - Listenarchive