I want to add a linux user with the "adduser" command through a web interface but cannot figure out the code. I realize that user "apache" does not have the appropriate permissions but this is on an intranet and I am not concerned with security. Example PHP code would be much appreciated.
check this out
http://www.naken.cc/mikehup.php
Since you're not concerned with security, add the apache user (probably "nobody") to the group owner of adduser and then call it by:
system("adduser parameter");