Re: exec("mysql -h hhh -u uuu -pppp <test.php",$out,$bin);

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux