hey all,

i have this
<?php
$today = getdate();
$month = $today['mon'];
$day = $today['mday'];
$year = $today['year'];
$date=$month."-".$day;

$command="mysqldump -uroot --password=***** iktato intrat2003 >tt.sql";
$test=system($command);
?>
When $command="mysqldump -uroot --password=***** iktato intrat2003 "; it
works and
when $command="mysqldump -uroot --password=***** iktato intrat2003 >tt.sql";
it doesn't work.
BUT!!!
i have made a consol script that runs a linux command from a normal input
text box. With that same command it executes it and makes the tt.sql. And im
not using exec() because i need to see the results of it thats why i use
system()

help pls

Thomas "omega" Henning








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

Reply via email to