Re: system help!

From: Date: Fri, 05 Jul 2002 06:06:34 +0000
Subject: Re: system help!
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-20326@lists.php.net to get a copy of this message
it is possible i'll look into it thanks! Thomas "omega" Henning "David Robley" <robleyd@paradise.net.nz> wrote in message news:MPG.178eab736e2ca8ee98973f@news.php.net... > 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 (#20326) next »