In recent days, I have linked code for something in PHP to pop up CMD windows , and in CMD windows there is a command like ping google.com "and process it
I don’t need PHP code to read the result, I want it to run it I tried something like
<?php
exec('C:\Windows\System32/cmd.exe ping google.com');
<?
but there is no result (I don’t know if it runs it in the background)
so I read this one and I founded many ways, but nothing worked
My OS is windows and thank you very much for everything :)
source
share