Hi
I want to execute a command on the cmd prompt thru php..
Exp: I want to execute 'ls' and store the list in a file.
I tried using exec() function but it returns 1..
not able to see the list.
how to go about it?
I want to execute a command on the cmd prompt thru php..
Exp: I want to execute 'ls' and store the list in a file.
I tried using exec() function but it returns 1..
not able to see the list.
how to go about it?
Comment