Hi i am trying to make a script where it access's my server and then executes a batch file. I have tried the shell_exec command but that doesnt work is there any other way of doing this or can someone help me with the shell_exec script.
<?php
shell_exec('/serverpannel/cod_start.bat');
?>
Is that all that is supposed to be there because it doesnt actually know where to access the file at.