#24473 [Opn->Bgs]: Maybe wrong system or exec command

From: Date: Thu, 03 Jul 2003 10:13:38 +0000
Subject: #24473 [Opn->Bgs]: Maybe wrong system or exec command
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43168@lists.php.net to get a copy of this message
ID: 24473 Updated by: sniper@php.net Reported By: habr at iinfo dot cz -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: WINXP->Linux PHP Version: 4CVS-2003-07-03 (stable) New Comment: Works fine here..propably permissions problem. Previous Comments: ------------------------------------------------------------------------ [2003-07-03 02:19:24] habr at iinfo dot cz 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 this bug report at http://bugs.php.net/?id=24473&edit=1

« previous php.bugs (#43168) next »