Re: exec("mysql -h hhh -u uuu -pppp <test.php",$out,$bin);
| From: | Richard Lynch | Date: | Thu, 26 Oct 2006 16:45:05 +0000 |
| Subject: | Re: exec("mysql -h hhh -u uuu -pppp <test.php",$out,$bin); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243671@lists.php.net to get a copy of this message | ||
On Wed, October 25, 2006 2:41 pm, Gert Cuykens wrote:
> i do not get any output from mysql except form echo $bin that displays
> 1 ?
> <?php
> exec("mysql -h hhh -u uuu -pppp <test.php",$out,$bin);
> print_r($out);
> echo $bin;
> ?>
And what does 'perror 1' tell you on the command line?
Or you could go whole-hog and install this:
http://l-i-e.com/perror
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?