marens8 Posted April 15, 2008 Report Share Posted April 15, 2008 Gribi savam serverim HLTV ? Tad skaties talak. Kad serveri esi uztaisijis tad ej savos servera failos. Man tas bus shadi: C:\CSDM Server Tad atveram valja: hltv.cfg. Tad atveram un augshpuse uzrakstam shadi: connect "Servera ip" name "HLTT nosaukums" record "../../../../../Appserv/www/cs/demo/" Tad kad tas izdarits veram ciet. Tagad ejam uz mapi: C:\Appserv . Tad ejam www mape un tur uztaisam jaunu failu demo.php . Tai demo.php rakstam shadi: <?php if ($handle = opendir('C:/Appserv/www/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 "<center> $day.$month.$year $hour:$minute $name <a href=\"demo/$file\">Ladet</a></br></center>"; } } closedir($handle); } ?> Tagad www mape uztaisam jaunu folder ar nosaukumu: demo Tad palaizham no servera hltv.exe ja nemaldos un viss butu jaiet. Ceru ka nodereja. Bye Link to comment Share on other sites More sharing options...
marens8 Posted April 15, 2008 Author Report Share Posted April 15, 2008 Kadam dereja > Link to comment Share on other sites More sharing options...
-=ar4ix8=- Posted April 15, 2008 Report Share Posted April 15, 2008 netaisi dubult postus bet nu shito jau manuprat katrs muljkjis zin Link to comment Share on other sites More sharing options...
Fragrancer Posted April 15, 2008 Report Share Posted April 15, 2008 bezjedzigi atkartota pamaciiba ..... ir poga search nevis piedirsham forumu :/ Link to comment Share on other sites More sharing options...
marens8 Posted April 15, 2008 Author Report Share Posted April 15, 2008 (edited) Bet tiekas taisija tas hltv pamacibas pec tam citi teica ka nav sanacis ! Edited April 15, 2008 by marens8 Link to comment Share on other sites More sharing options...
Kiwix Posted April 15, 2008 Report Share Posted April 15, 2008 Bet ja kaut 1 sanāk tieši pēc pamācības (piem. MAN) tātad pamācība ir pareiza... Un kurš gan nezin ctrl+c & ctrl+v... Tu taču to skriptu neesi taisijis... Link to comment Share on other sites More sharing options...
marens8 Posted April 15, 2008 Author Report Share Posted April 15, 2008 (edited) Skriptu ne bet pamacibu esmu taisijis pats . Bjle ka abesijies Kad esmu taijis kadu pamacibu vienmer manas pamacibas noniecina, lab lab es nakamreiz ari jusu pamacibas noniecinashu Edited April 15, 2008 by marens8 Link to comment Share on other sites More sharing options...
Kiwix Posted April 15, 2008 Report Share Posted April 15, 2008 (edited) Es jau neko nesaku... Vienkārši forumā ir vismaz 3 tādas pamācības... Labāk taisi ko noderīgu, kas nav bijis... Piem. pats orģinālākais: "Kā uztaisīt monitoru kā gign.lv" un ja tādu uztaisītu, tad visi p0k3 būtu laimīgi, ka web`ā rāda spēlētājus... =] Edited April 15, 2008 by Kiwix Link to comment Share on other sites More sharing options...
naziic Posted April 15, 2008 Report Share Posted April 15, 2008 Pilnīgi nevajadzīga pamācība, jau kuro reizi atkārtojās, nākamo reizi redzēšu liek u pamācību brīdināšu. Link to comment Share on other sites More sharing options...
Recommended Posts