i am trying to set up a script that uses mysqldump to email a backup of the database to a user. i cannot make mysqldump work however. from a command line it is fine. if i use system() it returns 2. if i use passthru is it returns 2. if i use exec it returns an empty array. i even tried it like this:$t = `mysqldump --password=xxxxxxxx general`;echo $t;and got no result. i know that this last way should work because a simple call to ls works. if anyone can give me some help with this i would be so thankful.thanks in advance.