Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php run command windows

//run your php  file via terminal

> php PATH/index.php

//to run any command just simply use BackTick
 index.php file contain code like this

  echo(`Your comman will goes here `);
//=====================
Note: do not use single quotes or double Quotes use backTick otherwise you command
simply printed on terminal without runing.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #run #command #windows
ADD COMMENT
Topic
Name
5+3 =