Originariamente inviato da daniele_dll
:master: :master:
che vor di? :master:
php ti gira su windows con iis o con apache?
come fai il download? che codice usi per l'upload?
Con IIS
per il download:
codice:
header("Content-Type: application/octet-stream");
header("Content-Disposition: $attachment filename=$filename");
header("Content-Length: ".filesize($filepath."\\".$filename));
header("Content-Transfer-Encoding: binary");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Pragma: public");
readfile($filepath."\\".$filename);