I have two scripts, one on my website (signup.pl), and one that is chmod 4750 (addme.pl) so that it can perform certain functions as root.
Signup.pl passes certain information on to addme.pl using the !system command to trap any errors. If there was an error running addme.pl, then signup.pl transfers the user to a static page, explaining the _possible_ causes of the problem.
What i realy want is signup.pl and addme.pl to talk to eachother. When an error is detected running addme.pl, i want addme.pl to pass the error message over to signup.pl so that signup.pl can display exactly what is wrong to the user.