Jump to content
php.lv forumi

download scripc un FB


capsx

Recommended Posts

es te cinijos ar download scripti

FireBird vislaik deva savot file.rar.php

atradaam tadu lietu http://lists.nyphp.org/pipermail/talk/2003...ber/006742.html

 

vai tieshaam jamo nevar piespiest pareizo hiideri uzlikt ???

 

UPDATE: probleema risinaas download.php vietaa ieliekot linku download.php?a=1 or whatever

Edited by capsx
Link to comment
Share on other sites

... $file = fopen($fails,"rb");

#28 $data = fread($file,filesize($fails));

#29 fclose($file);

 

a kas taisīs echo $data; ?

uzmanīgāk ar filename - labāk stripslashot

tipu labāk noteikta ar kaut ko līdzīgu mime_content_type()

 

P.S.>$now var noiteikt ar date('r');

Edited by Venom
Link to comment
Share on other sites

×
×
  • Create New...