shooter Posted June 2, 2006 Report Share Posted June 2, 2006 (edited) Jāraksta no cstrike direkstorijas (../ nozīmē vienu mapi uz augšu): ../ (tagad esam valve mapē) ../ (tagad esam Program Files mapē) ../ (Tagad esam C:\ mapē ) demo (tagad esam C:\demo mapē) Tātad rakstam record ../../../demo Edited June 2, 2006 by shooter Link to comment Share on other sites More sharing options...
boyzz Posted June 2, 2006 Report Share Posted June 2, 2006 (edited) NJA CIK Noprotu .dem faili pakojaas un parvietojaas tikai ieejot hltv.php ,a ir iespeeja kad vini pasi no sevis tur converteejaas,vai arii kads luudzu pasakiet scriptu ka dabut to ka,laiks blakam radas ludzu. Edited June 2, 2006 by boyzz Link to comment Share on other sites More sharing options...
shooter Posted June 2, 2006 Report Share Posted June 2, 2006 if ($handle = opendir('mape/ar/demo')) { while (false !== ($file = readdir($handle))) { if (strlen($file) > 4) { $gabali = explode("-", $file); $date = $gabali[1]; $mape = $gabali[2]; $mapesgabali = explode(".", $mape); $name = $mapesgabali[0]; $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "$day.$month.$year $hour:$minute $name <a href=\"http://www.serveris.lv/demo/$file\">download</a></br>"; } } closedir($handle); } Link to comment Share on other sites More sharing options...
boyzz Posted June 2, 2006 Report Share Posted June 2, 2006 Es kautkaa nerubiiju,kur vinu preciizi jaaliek,to codu Link to comment Share on other sites More sharing options...
mersy Posted June 2, 2006 Report Share Posted June 2, 2006 nu tev jau vis ir pateikts worm atbildeja un velviens pateica Link to comment Share on other sites More sharing options...
boyzz Posted June 2, 2006 Report Share Posted June 2, 2006 if ($handle = opendir('mape/ar/demo')) { while (false !== ($file = readdir($handle))) { if (strlen($file) > 4) { $gabali = explode("-", $file); $date = $gabali[1]; $mape = $gabali[2]; $mapesgabali = explode(".", $mape); $name = $mapesgabali[0]; $year = substr($date,0,2); $month = substr($date,2,2); $day = substr($date,4,2); $hour = substr($date,6,2); $minute = substr($date,8,2); echo "$day.$month.$year $hour:$minute $name <a href=\"http://www.serveris.lv/demo/$file\">download</a></br>"; } } closedir($handle); } Uz sito man neatbildeeja,kur jaliek preciizi. Link to comment Share on other sites More sharing options...
shooter Posted June 2, 2006 Report Share Posted June 2, 2006 kādā php failā jāliek Link to comment Share on other sites More sharing options...
boyzz Posted June 2, 2006 Report Share Posted June 2, 2006 cik sapratu taja hltv.php failaa ja? Link to comment Share on other sites More sharing options...
shooter Posted June 2, 2006 Report Share Posted June 2, 2006 kaut vai hltv.php, man piem. ir demo.php Link to comment Share on other sites More sharing options...
boyzz Posted June 2, 2006 Report Share Posted June 2, 2006 ja es tur iezveidoju failu hltv.php un ielieku to php codu ieksaa tad man nekas iipas nenotiek bet raadass tas teksts reku gluhs Link to comment Share on other sites More sharing options...
hl.id.lv Posted June 2, 2006 Report Share Posted June 2, 2006 Nu jaa, viss aizgaaja, demkas raxta tagad vajadziigajaa mapee, php skripts demku compreseeshanai ar iet, tikai lai taas demkas kompreseetu vajag ieiet tajaa failaa, kur ir tas kompresijas skripts, jo savaadaak uzreiz ejot demo raadiitaajfailaa raada tikai taas, ko esmu pirmstam kompreseejis ieejot tajaa kompresijas failaa! Ja kaads mani saprata, tad pasakiet kaa es varu uztaisiit, lai ejot tajaa demo raadiitaajfailaa uzreiz demkas neredzot paartaisaas un paraadaas! Veel labaak buutu, ja demkas peec raxtiishanaas pashas kompreseejas! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now