CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
in need of help regarding PERL coding

 



juneym
Deleted

Nov 8, 2000, 3:36 AM

Post #1 of 1 (929 views)
in need of help regarding PERL coding Can't Post

I'm creating a script that should execute the /usr/sbin/useradd to enable adding via a web interface. The problem is it cannot properly do a system() function when running via CGI. When I check the returned value of the system() function, its 0 = successfully added , 2000+ = error (running via a shell) & 127 = via a CGI. How can I do the job? Please show me some code..
thanks!!

email your answer to juney20@yahoo.com

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives