From: habr at iinfo dot cz
Operating system: WINXP->Linux
PHP version: 4CVS-2003-07-03 (stable)
PHP Bug Type: *General Issues
Bug description: Maybe wrong system or exec command
Description:
------------
system("mysqldump --user=*** --password=*** --host=localhost --force
database table > /www/sqldump.sql");
This command executes mysql and doesn't create the file, the output is
only on the screen.I don't know why the file isn't created.
Thanx
Reproduce code:
---------------
system("mysqldump --user=*** --password=*** --host=localhost --force
database table > /www/sqldump.sql");
Expected result:
----------------
Output to the file, not tho the scrren or to the variable like
system(" ....",$array);
Actual result:
--------------
screen output only, no redirection
--
Edit bug report at http://bugs.php.net/?id=24473&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24473&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24473&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24473&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24473&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24473&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24473&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24473&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24473&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24473&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24473&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24473&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24473&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24473&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24473&r=gnused