Php Backup Snippets


09 October, 2011   

This code shows how to backup a table to a CSV file.

In order for this to work, you will need to copy mysqldump.exe and mysql.exe from the MySQL bin Program Files folder into the same directory as your executing PHP script. If you know the direct path to these for your server, you can use those instead.

05 December, 2013   

AppleScript Source Code for Evernote Notebooks Backup

Script to query db growth history using backup history this is accurate as long as there's no compression involved.

05 July, 2012   

Backup MySQL Database to SQL File with mysqldump

Exam code to backup MySQL Database to SQL File

17 July, 2013   

This one creates a back of the current workbook.

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.

30 December, 2010   

Class to back up entire databases and email them out, or individual tables

An example code to restore MSSQL database from backup

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

06 May, 2013   

Code example for Month Day Year Dropdown

27 October, 2011   

An example to include another PHP file into a PHP script

29 October, 2011   

Here shown an example how to Compress CSS with PHP

27 May, 2013   

Example shows here how to compress CSS with PHP

26 May, 2012   

Allows to perform PHP redirection (must be placed before any browser output).

14 February, 2011   

You'll need a of copy Simple Pie for the include right at the top here.

04 October, 2012   

Turn a string into a readable url

21 May, 2012   

PHP example for connecting to MySQL

23 October, 2012   

MySQL code example for sorting data in a GRID