You can access the command line with the backtick operator: <?php
// restart the servers `net stop mysql` ; // backtick, not quote `net stop apache` ; `net start mysql` ; `net start apache` ; // To access the running services: `net start > "file_to_parse.txt"` ; ?> En espérant que cela aide Ignatius ____________________________________________ ----- Original Message ----- From: "Paul Menard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 5:10 PM Subject: [PHP-WIN] Windows Service interactions with PHP > All, > > I' converting a Web site from ASP to PHP. One of the > last issues I am working on is converting the ASP page > that will show the status of a specific Service. > > This page also allows the Admin level user to > stop/start the service. > > What is the 'best' way to code this in PHP and/or > Perl? > > Paul > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php