archee Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) Tātad ir Upload Service, bet būtu vajadzīga palīdzība ar tā pieregul�#8220;šanu, proti, 1. Vajadz�#8220;tu uztaisīt tā, ka zem "Dz�#8220;šana: Iesl�#8220;gta" jaunā rindā rādītu visu augšuplād�#8220;to failu svaru (pavisam kopā) 2. Kā arī vajadz�#8220;tu uztaisīt, lai viņš augšuplād�#8220;tos failus (to linkus) raksta augš�#8220;jā rindā, nevis jauktā secībā.. Tās itkā ir tās lietas, ar kurām netieku galā, jo PHP esmu iesāc�#8220;js, bet gribas iemācīties to ko nezinu.. tā kā, ja kādam ir idejas, tad lūdzu postojiet.. Edited February 22, 2007 by archee Link to comment Share on other sites More sharing options...
Stopp Posted February 22, 2007 Report Share Posted February 22, 2007 1. opendir, readdir un filesize funkcijas (piepluso klāt kaut kādam mainīgajam katra nolasītā faila izmēru). 2. Nesapratu. Link to comment Share on other sites More sharing options...
andrisp Posted February 22, 2007 Report Share Posted February 22, 2007 1) Ar http://lv.php.net/opendir nolasi direktorijas saturu, ciklē cauri tam un http://lv2.php.net/filesize ieguusti katra faila izmeeru. Tad sasumee un noformee kaa tev vajaga. Varbuut ir arii kaads labaaks veids. 2) Ielasi visus failu nosaukumus masiivaa. Katram klaat veel pievieno arii http://lv2.php.net/manual/en/function.filemtime.php, un tad ar http://lv2.php.net/manual/en/function.krsort.php sakaarto. Aptuveni taa. Link to comment Share on other sites More sharing options...
archee Posted February 22, 2007 Author Report Share Posted February 22, 2007 ok domu gājienu sapratu.. tagad jāmēģina tas realizēt PHP.. ja kas nesanāks - bļaušu ;) Link to comment Share on other sites More sharing options...
hackerman Posted February 22, 2007 Report Share Posted February 22, 2007 Padomā arī par uploada drošību :) Tur var augšupieādēt nejaukas lietas.... Link to comment Share on other sites More sharing options...
4e4en Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) hostejas iekš no... tads suds tas hostings, ka pat ar rXX shellu neko padarīt nevar ;( vienīgais sliktais, ko var izdarīt ir piedirst serveri ar pornografiju :) Edited February 22, 2007 by 4e4en Link to comment Share on other sites More sharing options...
hackerman Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) Un kā vēl, var :) Edited February 22, 2007 by hackerman Link to comment Share on other sites More sharing options...
4e4en Posted February 22, 2007 Report Share Posted February 22, 2007 pamēģini pats :P padarīt neverēju itin neko ;( Link to comment Share on other sites More sharing options...
hackerman Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) Bet es nebūtu neko teicis, ja pats nebūtu viņu uplodojis :) Edited February 22, 2007 by hackerman Link to comment Share on other sites More sharing options...
andrisp Posted February 22, 2007 Report Share Posted February 22, 2007 hackerman, ko tu tur īsti sadarīji ? Link to comment Share on other sites More sharing options...
4e4en Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) a kuru versiju tu izmantoji? Updated: tikko viņš novaca pavisam upload skriptu :) Edited February 22, 2007 by 4e4en Link to comment Share on other sites More sharing options...
hackerman Posted February 22, 2007 Report Share Posted February 22, 2007 Nav svarīgi, ko es izmantoju... andrisp, es neko nesadarīju...Apskatījos vai var upodot un izdzēsu. Un kāds cits arī paspēja kautko tādu darīt... Link to comment Share on other sites More sharing options...
archee Posted February 22, 2007 Author Report Share Posted February 22, 2007 (edited) maitas :D mjaa double extension faili... buus jaaliek cheks.. a ko juus pashi iesakat mazie hax0ri ? :D skatos viens bija iemetis .php.png.. :D atverot failu man paraadijas afigenija izveelne ar lietaak kaa "delete directory" utt... :) srazu nonesu nost up servisu un failus izdzēsu.. P.S. Ir log fails un shas sametishu visas negeelu IP :) February 21, 2007 / 03:11:29pm - up_service.jpg image/pjpeg uploaded by 81.198.227.34February 21, 2007 / 06:28:53pm - screen_xstyle.jpg image/pjpeg uploaded by 81.198.227.34 February 22, 2007 / 01:26:20pm - lightbox2.02.zip application/x-zip-compressed uploaded by 81.198.227.34 February 22, 2007 / 01:27:11pm - lightbox_1.jpg image/pjpeg uploaded by 81.198.227.34 February 22, 2007 / 01:27:19pm - lightbox_2.jpg image/pjpeg uploaded by 81.198.227.34 February 22, 2007 / 04:42:11pm - pokemonize.exe application/octet-stream uploaded by 87.110.17.132 February 22, 2007 / 04:42:39pm - visitor.zip application/x-zip-compressed uploaded by 87.110.17.132 February 22, 2007 / 04:42:55pm - visitor.zip application/x-zip-compressed uploaded by 87.110.17.132 February 22, 2007 / 05:18:40pm - lohs.php uploaded by 81.198.117.143 February 22, 2007 / 05:19:10pm - lohs.php application/x-php uploaded by 81.198.117.143 February 22, 2007 / 05:20:35pm - www.php.gif image/gif uploaded by 81.198.117.143 February 22, 2007 / 05:25:12pm - test.php application/octet-stream uploaded by 87.110.132.114 February 22, 2007 / 05:25:33pm - test.php.png image/png uploaded by 87.110.132.114 February 22, 2007 / 05:27:43pm - hello.php application/octet-stream uploaded by 159.148.117.36 February 22, 2007 / 05:56:15pm - test.php.png image/png uploaded by 87.110.132.114 Edited February 22, 2007 by archee Link to comment Share on other sites More sharing options...
hackerman Posted February 22, 2007 Report Share Posted February 22, 2007 (edited) Katrā ziņā, tas ar png nebija mans darbs :) Edited February 22, 2007 by hackerman Link to comment Share on other sites More sharing options...
archee Posted February 22, 2007 Author Report Share Posted February 22, 2007 mosh gribi palidzet ar aizsardzibu? ;) iedosi skript pret double ext. ? Link to comment Share on other sites More sharing options...
Recommended Posts