thank you very much for all the help but i manage to find the 'error'...
i called my 'tech support' (oh how i wish that i could call them that way 🙂) and they told me that i should specify host name..... of course......
so i was trying to do
$dumpCommand='HOST NAME/usr/bin/mysqldump';
...
but the answer was in -h argument so finally my code goes:
$user="*********";
$password="*****";
$database="*********";
$dumpCommand='/usr/bin/mysqldump';
$dumpCommand.=" -e -f -h host.name.com -u$user -p$password";
$dumpCommand.=" $database";
$dumpCommand.=" > bekap.sql";
$results=$dumpCommand;
exec($dumpCommand);
echo "result: ".$results;
oh and by the way, those spaces between -p and password were typo... just like the title of this post.... i mean, 'crates' 🙂 hahahaha, moron! 🙂 sorry for that 🙂
thanks to all of you one more time!
kisses*