ex.warzaru
Junior
Inregistrat: acum 17 ani
Postari: 28
|
|
cine ma pote ajuta sami zika ce face exact codu
Code:
$h = fopen($locfilename, "w+b");
fwrite($h, $gzdata);
fclose($h);
$user_agent =strtolower ($_SERVER ["HTTP_USER_AGENT" ]);
header ("Content-type: application/force-download" );
if (( is_integer (strpos ($user_agent ,"msie" ))) && ( is_integer (strpos ($user_agent ,"win" )))) {
header ("Content-Disposition: filename=" .$locfilename );
}
else {
header ("Content-Disposition: attachment; filename=" .$locfilename );
}
header ("Content-Description: File Transfert" );
readfile($locfilename); |
=D 
Modificat de ex.warzaru (acum 17 ani)
|
|
pus acum 17 ani |
|
OSHO
Elite Member
 Din: Cluj
Inregistrat: acum 18 ani
Postari: 2069
|
|
|
pus acum 17 ani |
|