bob2588 Posted January 31, 2010 Share Posted January 31, 2010 i am looking for a way back up the mysql databases then email the data bases file to me and know any tutorials i can use thanks bob Quote Link to comment https://forums.phpfreaks.com/topic/190428-mysql-backup/ Share on other sites More sharing options...
premiso Posted January 31, 2010 Share Posted January 31, 2010 http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/using-php-to-backup-mysql-databases.aspx The email will be trickier, but I trust you can use google to figure out how to email attachments, I will not do that google for you. Quote Link to comment https://forums.phpfreaks.com/topic/190428-mysql-backup/#findComment-1004495 Share on other sites More sharing options...
bob2588 Posted January 31, 2010 Author Share Posted January 31, 2010 That tutorial does not look complete like what is in <?php include 'config.php'; include 'opendb.php' Quote Link to comment https://forums.phpfreaks.com/topic/190428-mysql-backup/#findComment-1004496 Share on other sites More sharing options...
PFMaBiSmAd Posted January 31, 2010 Share Posted January 31, 2010 Because of the general purpose nature of programming, there are dozens of ways of accomplishing any task and a great amount of inference * is required to take code examples and apply them to your specific situation. config.php probably contains configuration settings. opendb.php probably contains code to connect to and select a database. * Inference is the process of drawing a conclusion by applying rules (of logic, statistics etc.) to observations or hypothesis; or by interpolating the next logical step in an intuited pattern. Quote Link to comment https://forums.phpfreaks.com/topic/190428-mysql-backup/#findComment-1004603 Share on other sites More sharing options...
wildteen88 Posted January 31, 2010 Share Posted January 31, 2010 That tutorial does not look complete like what is in <?php include 'config.php'; include 'opendb.php' Just replace those line with mysql_connect and mysql_select_db. Quote Link to comment https://forums.phpfreaks.com/topic/190428-mysql-backup/#findComment-1004607 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.