I tried using the exec command to run a command line command but nothing shows up. Can anyone show me the proper way to run a command line command from php?
thanks,
bakaneko
Did you use the exec command in a webpage, (a la` apache) or from a CLI environment?
It is possible that your environment is not configured properly to use exec(). OTOH, there are potential security issues.
More information is needed.
hi,
sorry. yes, i am using this via apache2 on a windows xp machine.
thx,
bako
Well, the apache user would have to have permission to run cmd.exe, or whatever the shell there is called.
I do my PHP on UNIX, so I'm not much more help than that, I expect. Sorry 🙁