eM^ Posted October 30, 2006 Report Share Posted October 30, 2006 esmu ticis lidz weba failu sadaļai un itkaa jau viss buutu labi, bet fcija filesize(); ieguust faila izmeru baitos. veelejos pajautat kadu ideju, ka tos parverst kilobitos un ja kilobiti ir saniegushi megabaitus tad megabaitos... Link to comment Share on other sites More sharing options...
Delfins Posted October 30, 2006 Report Share Posted October 30, 2006 Internetā ir daudz, ļoti daudz piemēru.. un pašam uzcept arī nav sarežģīti.. Vispār ir dīvaini, ka koderi prasa tādas lietas.... Link to comment Share on other sites More sharing options...
eM^ Posted October 30, 2006 Author Report Share Posted October 30, 2006 tur jau ta lieta ka nesmu nekads dizais koderis, jo nemacos par tadu, bet vnk pashmacibas celaa kko esmu apguvis. Link to comment Share on other sites More sharing options...
v3rb0 Posted October 30, 2006 Report Share Posted October 30, 2006 http://en.wikipedia.org/wiki/Bytes Link to comment Share on other sites More sharing options...
hmnc Posted October 30, 2006 Report Share Posted October 30, 2006 baiti * 1024 = kilobaiti kilobaiti * 1024 = megabaiti .. utt uzraksti funkciju un miers. Link to comment Share on other sites More sharing options...
andrisp Posted October 30, 2006 Report Share Posted October 30, 2006 http://www.google.lv/search?hl=lv&q=co...bytes+to+mb+php Link to comment Share on other sites More sharing options...
eM^ Posted October 30, 2006 Author Report Share Posted October 30, 2006 paldies... tagat iebraucu :) Link to comment Share on other sites More sharing options...
Paulinjsh Posted November 1, 2006 Report Share Posted November 1, 2006 http://lv.php.net/filesize turpat apakšā ir piemērs kā konvertēt! Link to comment Share on other sites More sharing options...
Recommended Posts