Re: system help!

From: Date: Thu, 04 Jul 2002 23:54:40 +0000
Subject: Re: system help!
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20323@lists.php.net to get a copy of this message
In article <20020703165420.43432.qmail@pb1.pair.com>, tomi@mediasoft.ro (Thomas \"Omega\" Henning) says... > 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 Is it possible that the user that apache/php runs as does not have permissions to write to that directory? -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.db (#20323) next »