Lancom Posted January 4, 2009 Report Share Posted January 4, 2009 как зделать что бы через php можно было завершить процесс Link to comment Share on other sites More sharing options...
10BaseT Posted January 4, 2009 Report Share Posted January 4, 2009 os? Link to comment Share on other sites More sharing options...
Lancom Posted January 4, 2009 Author Report Share Posted January 4, 2009 Windows XP Link to comment Share on other sites More sharing options...
X ID Posted January 4, 2009 Report Share Posted January 4, 2009 http://lv.php.net/manual/en/book.exec.php Link to comment Share on other sites More sharing options...
Lancom Posted January 5, 2009 Author Report Share Posted January 5, 2009 а ка замутить так <?php exec(" ") ?> Link to comment Share on other sites More sharing options...
Norek Posted January 5, 2009 Report Share Posted January 5, 2009 Nesaki, lūdzu, ka tur piemēru trūkst! Link to comment Share on other sites More sharing options...
Lancom Posted January 6, 2009 Author Report Share Posted January 6, 2009 (edited) Я там все испробовал и не работает. Пробовал свой метод и не помогло просто у меня php скриптинг среднего уровня. Edited January 6, 2009 by Lancom Link to comment Share on other sites More sharing options...
Norek Posted January 6, 2009 Report Share Posted January 6, 2009 Nu tad rādi, ko esi izdarījis un stāsti, ko gribi panākt. Kopā tiksim galā. Link to comment Share on other sites More sharing options...
Lancom Posted January 6, 2009 Author Report Share Posted January 6, 2009 Я хочу сделать это для cw серверовов чтобы можно было закрывать их через и-нет как сервера 2po Link to comment Share on other sites More sharing options...
X ID Posted January 6, 2009 Report Share Posted January 6, 2009 Kāda ir konsoles komanda, lai aizvērtu to serveri? Link to comment Share on other sites More sharing options...
Lancom Posted January 6, 2009 Author Report Share Posted January 6, 2009 Я вот так пробовал <?php exec("$PID hlds.exe -exit"); ?> Link to comment Share on other sites More sharing options...
X ID Posted January 6, 2009 Report Share Posted January 6, 2009 start -> run -> cmd strādā? Diezvai. Nezinu kāda ir windows komanda, bet šitāda viņa diezvai būs. Link to comment Share on other sites More sharing options...
jerrico Posted January 6, 2009 Report Share Posted January 6, 2009 (edited) pid noteikti nebuus, un kaa hlds.exe vinjsh neatradiis, pamegjini directory arii noraadiit edit: moshka pameegjini close /wait hlds.exe , nezinu vai arii aizverot hlds jaaizmanto wait pamegjini close vietaa 'taskkill' Edited January 6, 2009 by jerrico Link to comment Share on other sites More sharing options...
X ID Posted January 6, 2009 Report Share Posted January 6, 2009 Nu konterstaikeriem tak vajadzētu zināt kā caur konsoli aizvērt hltv. cd C:\ceļš uz mapi && hltv.exe kaut kas tamlīdzīgs, noteikti Link to comment Share on other sites More sharing options...
10BaseT Posted January 8, 2009 Report Share Posted January 8, 2009 (edited) exec("taskkill /IM hlds.exe /f",$tmp); echo $tmp[0]; Edited January 8, 2009 by 10BaseT 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