Link to home
Start Free TrialLog in
Avatar of keano84
keano84

asked on

Commands

Can i use PHP to

1, restart sendmail
2, run the useradd command
3, append information to a file

if poss i need to code to do these
ASKER CERTIFIED SOLUTION
Avatar of lokeshv
lokeshv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keano84
keano84

ASKER

thanks
You can use system(), exec(), passthru(), popen(), escapeshellcmd(), and the backtick operator.

Best option would be backtick operator.

JD