php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24473 Maybe wrong system or exec command
Submitted: 2003-07-03 02:19 UTC Modified: 2003-07-03 08:55 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: habr at iinfo dot cz Assigned:
Status: Not a bug Package: Program Execution
PHP Version: 4CVS-2003-07-03 (stable) OS: WINXP->Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: habr at iinfo dot cz
New email:
PHP Version: OS:

 

 [2003-07-03 02:19 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-03 05:13 UTC] sniper@php.net
Works fine here..propably permissions problem.


 [2003-07-03 08:55 UTC] habr at iinfo dot cz
what kind of permitions do you mean?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 20:01:30 2025 UTC