RE: [PHP-WIN] executing windows command with php

From: Date: Thu, 18 Apr 2002 18:53:15 +0000
Subject: RE: [PHP-WIN] executing windows command with php
Groups: php.windows 
Request: Send a blank email to php-windows+get-13176@lists.php.net to get a copy of this message
Josh, Believe it or not, I found an effective way to do that with a batch script! But PHP works better :) One of the easiest ways in PHP is to use the backtick method - the ` character (just like in unix). Example: <pre> <?php echo ping blah.host.com; ?> </pre> Works great. -Dash -----Original Message----- From: Evans, Josh [mailto:Josh.Evans@acs-inc.com] Sent: Thursday, April 18, 2002 11:34 AM To: php-windows@lists.php.net Subject: [PHP-WIN] executing windows command with php what would be the best way to ping a host and return the output to a webpage? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#13176) next »