BeTeRVeLeT Posted November 5, 2016 Share Posted November 5, 2016 Selamin Aleyküm Cümleten Sizlere Kücük Bir sorum olacaktır localhost olarak makinama Server yapcam ve sonra Wordpress kurulumu yapcam hazırladığım bir Temada Ben 1 Resime Link vercem Oda Localhost içindeki Bir Bat Dosyasını çalıştırmak istiyorum Bunu nasıl yapabilirim bu konuda bana yardım edebilecek Birisi varmıdır Sayfada ? Quote Link to comment Share on other sites More sharing options...
BeTeRVeLeT Posted November 6, 2016 Author Share Posted November 6, 2016 ++ güncell Quote Link to comment Share on other sites More sharing options...
ratapan Posted November 6, 2016 Share Posted November 6, 2016 linkte php ile nasıl çalıştırılacağı anlatıyor.Gerisini halledersin herhaldePlease register to see this content. Quote Link to comment Share on other sites More sharing options...
BeTeRVeLeT Posted November 12, 2016 Author Share Posted November 12, 2016 Spoiler <?php <script language=JScript> function launchProgram() { pclose(popen("start /B deneme.bat", "r")); die(); } </script> </head> <body> <form> <a href="#" onClick="launchProgram()"> deneme </a> </form> ?> Şeklinde yaptım Doğrumudr bilmiyorum ya Bana 1 Sayfa yaparmısız Rica etsem Quote Link to comment Share on other sites More sharing options...
faruk15725 Posted November 23, 2016 Share Posted November 23, 2016 Resim her yüklediğinde bat dosyasını çalıştırmak istiyor isen Resimi php ile get_file_contents oku bu işlemden önce veya sonra exec ile bat dosyasını çalıştır en son readfile ile get_file_contents ile okuduğun resim ekran yaz. resim direk part yolunu kullanır isen iş yapmaz php dosyasını yolunu ile resim yüklemen gerekir. Quote Link to comment Share on other sites More sharing options...
BeTeRVeLeT Posted November 24, 2016 Author Share Posted November 24, 2016 Biraz Araştırdım Şöyle Birşey yaptım ama Çalıştıramadım İndex php İçine Altaki Kodu yazdım Sorunsuz Çalıştır <?php $Link='oyn.php';enho '<a href=" ',Link,' " > Oyun Aç </a>;?> Ve Sonra oyn.php İçine Bunu yazdım <?php exec( 'c:\\bat\\1.bat');?> Bu Şekilde Yaptım İndex Oyun Aç deyince Oyn.php Girmesi lazım orada ise Anladığım kadari ile 1.bat Dosyasın Çalışması lazım Değilmi Bana bu konuda Kim yardım edebilir. Quote Link to comment Share on other sites More sharing options...
cihaneken Posted February 20, 2017 Share Posted February 20, 2017 Kulladığın hosting eğer "exec" komutunu kullanmana izin vermiyorsa çalışmaz. Kaldı ki eğer bir hosting firmasından paket aldıysan zaten çalıştırmana da izin vermezler. Kendine ait bir VDS yada VPS olması gerekir. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.