Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

About BASH command in php

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am working on project which lets people to sign up and get mail address, then singing in, reading and recieving mails. I did most of them. But i dont know how to add user online.
I heard that Unix Bash commands should be used. But i dont know use of them in php. Can any one tell me how to use BASH command like useradd in php.
or Is there any other way to create mail account in php.

Thanks
 
You could try :
$cmd=&quot;useradd <option> etc&quot;;
shell_exec($cmd); ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top