Posts

Showing posts with the label script

how to download the programs in jsFiddle

You have to put /show a after the URL you're working on:   http://jsfiddle.net/<your_fiddle_id>/show/   It is the site that shows the results. And then when you save it as a file. It is all in one HTML-file. For example:   http://jsfiddle.net/Ua8Cv/show/   for the site http://jsfiddle.net/Ua8Cv

How to get database backup in your mailbox daily automatically

ew web host do not offer a daily backup of MySQL database while few offer extra charge for automatic backup.This PHP script will help you to get database backup in your mailbox daily automatically. This script  performs three tasks.First it creates backup of MySQL database and save it server in .sql format.In second step it compress the .sql file and convert it in .zip format.At last ,it sends an email to provided email id with attached backup.To use this script you just need to assign the values for the variables $db_host , $db_user , $db_pass , $db_name , $tables and $email. <?php //File name:backup.php //Date:20 November 2012 //By: Amit Singh< admin@megarush.net > //Title:How to get database backup in your mailbox daily automatically //settings for MySQL database //change these variables before using $db_host=" localhost ";   //mysql host $db_user=" rashed ";  //databse user name $db_pass=" dbpassword ";  //database password $d...