[Php-it] scaricare un file video

Cesare D'Amico cesare at ngi.it
Thu Jan 4 12:05:23 CET 2007


Alle 21:24, mercoledì 03 gennaio 2007, spacemarc ha scritto:
> header("Content-Disposition: attachment; filename=$_GET[name]$ext");

Meglio:

header("Content-Disposition: attachment; filename={$_GET[name]}{$ext}");

Cmq sì, il problema era che passavi gli header, ma non il file! :)

Ciaps
     ce
-- 
Cesare D'Amico      |  Gruppo Volta
Area tecnica        |  Web & Mkt Solutions
Tel: 045 21 000 84  |  Via Leida 8 - Verona
Fax: 045 21 000 85  |  http://www.gruppovolta.it


More information about the Php-it mailing list