Jump to content

Archived

This topic is now archived and is closed to further replies.

arifs

sytem commands in php

Recommended Posts


hi ,
  plz tel me how to run system command in linux ,  I want to run linux command  like "ifconfig" and
"mii-tool" in php

plz send me code .
 

thanks 

Share this post


Link to post
Share on other sites
system("ifconfig");
exec("ifconfig");

Try check the manual first: http://www.php.net/manual/en/index.php

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.