andre Posted September 9, 2003 Report Share Posted September 9, 2003 kaa var uplodot direktorijas izmantojot php skriptu piemeeram, vailus var uploadot taa : $filedata = stat($path.$filename); $filesize = $filedata[7]; $ft = gettype($path.$filename); header("Content-Type: $ft[1]"); header("Content-Length: $filesize"); header("Content-Disposition: attachment; filename=$filename"); readfile($path.$filename); exit; Link to comment Share on other sites More sharing options...
Roze Posted September 10, 2003 Report Share Posted September 10, 2003 Direktorijas nevajag uploadeet prieksh tam ir komanda mkdir lai taas taisiitu http://lv.php.net/manual/en/function.mkdir.php Pie kam tavs kods failus nevis uploado bet ljauj klientam downloadeet (ir atskjiriiba starp up un down :) ) Link to comment Share on other sites More sharing options...
Recommended Posts