Re: exec command part 2?
| From: | Inpho | Date: | Mon, 28 Apr 2003 04:38:42 +0000 |
| Subject: | Re: exec command part 2? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145466@lists.php.net to get a copy of this message | ||
Well I finally got the code working:
system("keygen $macad", $result);
print "$result";
"Daniel R. Anderson" <dan@mathjunkies.com> wrote in message
news:1051493225.22907.1.camel@ny-chicagost2d-72.buf.adelphia.net...
> > What did the print_r($result) do for you? And regarding
> > the use of implode(), you have to print it as implode
> > returns a value, it doesn't print one.
>
> Which is why it is important you consult the manual for every function
> you do not recognize. If you are unwilling to do that you will never
> figure out anything, and I doubt anyone would want to maintiain your
> code.
>
> -Dan Anderson
>