Re: exec command part 2?

From: Date: Sun, 27 Apr 2003 13:57:20 +0000
Subject: Re: exec command part 2?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-145419@lists.php.net to get a copy of this message
It comes up with: Warning: Wrong parameter count for implode() in /home/kg.php on line 4 - paul - "Daniel R. Anderson" <dan@mathjunkies.com> wrote in message news:1051451898.28467.5.camel@ny-chicagost2d-72.buf.adelphia.net... > Have you tried imploding? I.e. > > <?php > $result = implode($result); > echo $result; > ?> > > On Sun, 2003-04-27 at 09:41, Inpho wrote: > > ok i'm part of the way there... can anyone help me with the rest?? > > > > this is what I have so far: > > > > exec("keygen 00-00-00-00-00-00", $result); > > print "$result"; > > > > all that outputs is "array" how do i get it to print the actual output. > > > > thanks > > > > - paul - > > > > > > "Inpho" <inphorm@gmx.net> wrote in message > > news:20030427050456.11541.qmail@pb1.pair.com... > > > 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 - > > > > > > > > > > > > > > > > >

« previous php.general (#145419) next »