Hi, i want to take backup of database (Mysql) in php script and then send this on any mail.
Is it possible in PHP?
call mysqldump using [man]exec[/man] then [man]mail[/man] the resulting output to yourself.
If size is an issue also gzip it, either with the php extension, or via the command line and then add it as an attachment with whatever you're using, like phpmailer