Re: simple newb q

From: Date: Sun, 27 Apr 2003 06:52:29 +0000
Subject: Re: simple newb q
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19645@lists.php.net to get a copy of this message
Use the back tick operator: $result = c:\paul\source\keygen.exe "00-00-00-00-00" // adapt to command line syntax - should be the same as you would put in a DOS .bat file HTH Ignatius ____________________________________________ ----- Original Message ----- From: "Inpho" <inphorm@gmx.net> To: <php-windows@lists.php.net> Sent: Sunday, April 27, 2003 6:12 AM Subject: [PHP-WIN] simple newb q > Hey all, > > Simple Question here for you, i can't find out how to do it at php.net.... > > I want to call an .exe file from a script it's a keygenerator accepting a > MAC address as input and puts out a serial number as out put. in DOS you > would run it like this: > > c:\paul\source>keygen 00-00-00-00-00 > > it would output a serial number. > > what i want to do is call the keygen.exe file from a php script and print > the out put to the screen. > > any ideas? > > - paul - > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#19645) next »