|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-03 05:13 UTC] sniper@php.net
[2003-07-03 08:55 UTC] habr at iinfo dot cz
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
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