note 15212 rejected and deleted from function.system by jmcastagnetto

From: Date: Fri, 31 Aug 2001 22:45:48 +0000
Subject: note 15212 rejected and deleted from function.system by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-17475@lists.php.net to get a copy of this message
All these 3 ways can create an xxx.sql file, but they are of 0 length. Any Idea? <? exec ("/pathto/mysqldump -u username -ppassword database table > one.sql;"); passthru("/pathto/mysqldump -u username -ppassword database table > two.sql;"); $command = "/path/mysqldump -u username -ppassword database table > three.sql;"; system( $command ); system("exit(0)"); ?>

« previous php.notes (#17475) next »