Is it possible to run windows command line code from php ? My windows command line code is:
C:\xampp\mysql\bin>mysqlbinlog
is not a command.
I think you mean C:\xampp\mysql\bin\mysqlbinlog
.
Notice the replacing of the >
in a \
.
The >
is only visible in the command prompt as a separator (for the eyes) but you should not use it like that in a command unless you are trying to redirect your output. (which you are doing again later in the line). So just replace that first >
in a \
and your command will run.