Hello folks,
Thanks a lot for the reply.
I dont mean exactly httpd.
Any Service will do.
I want to start and stop a serviec using cgi script.
Say mysql service will do,

#!/usr/bin/perl
`/etc/rc.d/init.d/mysqld restart`;
print"Content-type:text/html\n\n";
print"RESTARTED";

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to