search

Home  >  Q&A  >  body text

Can php's exec function execute server programs?

I want the front-end webpage to directly run the server program, which is equivalent to running the software on the server side. The front-end does not run. Can I use the exec function? Ask God for help. PHP code:

header("Content-type:text/html;charset='utf8'");

$cmd="Server software address";

exec ($cmd);

exit;


"Sen,…… 2236 days ago896

reply all(0)I'll reply

No reply
  • Cancelreply