Executing external program ?

From: Date: Mon, 18 Dec 2000 10:33:02 +0000
Subject: Executing external program ?
Groups: php.general 
Request: Send a blank email to php-general+get-30850@lists.php.net to get a copy of this message
Hi, I work on NT/ IIS/ PHP/ MYSQL environment. I want to execute the mysqldump command. The problem is when i execute it the command the browser seems to keep on executing it without displaying any messages. I am not sure that the program is getting execute only. My code looks as follows - <?php $bindir="c:\mysql\bin\"; passthru( $bindir."mysqldump --quick shop > bkup.txt " ) or Die('Couldnt Query '.mysql_error()); echo ("Program ran successfully"); ?> Can someone help me out ? Thanks, Karthik. ------------------------------------------------------------ Shop Name-Brand stores for the holidays using the Nettaxi StoreRunner! http://shop.storerunner.com/nettaxi/

« previous php.general (#30850) next »