php size of .zip
php size of .zip
dobry den , v php pouzivam filesize na zistenie velkosti suboru , funguje to super az do momentu pokial to nepouzijem na vacsi subor , konkretne mam tu 4.5 GB zip archiv na serveri ale filesize to vyhodnocije stale ako 214653 KB , tym padom ked to chcem stiahnut tak to stiahne iba tych 200 MB a zipko je nefunkcne , viete mi niekto poradit ako ziskam skutocnu velkost toho zipka ? (na mensich to funguje ako ma)
-
weroro
Flash coder
- Príspevky: 3206
- Registrovaný: 14 feb 2009, 22:34
- Bydlisko: Bratislava
- Kontaktovať používateľa:
Re: php size of .zip
V dokumntácii je: "Because PHP's integer type is signed and many platforms use 32bit integers, some filesystem functions may return unexpected results for files which are larger than 2GB."
Re: php size of .zip
Cez mod_xsendfile a potom cez header x-sendfile.