<?php

$intructions_txt = "
_____________________________________________________________________________


    wpTimeMachine, version: ".$wpTimeMachineVersion."

_____________________________________________________________________________

    These steps are recommendations, if you have a better way to 
    handle restoration, consider sharing that in the forums, here:
    
    http://wordpress.org/tags/wp-time-machine?forum_id=10
    
    If you get stuck that's also a good place to search for help

_____________________________________________________________________________

    Step 1)
    
        Get your old version of WordPress in place:
        
        ".$wp_installer_url."
        
        Uncompress that file after downloading it & then upload
        it to the 'old' location where you had WordPress before.
        
        Just like when you first set up WordPress, you will need
        to make a copy of wp-config-sample.php called wp-config.php
        and update that file with your database information.  Unless
        you manually backed this up -- which would've been a good 
        idea.
    
    Step 2)
    
        If you had a .htaccess file in use, uncompress this file:
        
        wpTimeMachine-htaccess".$format."
        
        And then place it here:
        
        http://yourdomain.com/.htaccess
        
    Step 3)
    
        Rename the WordPress folder called wp-content to something
        like wp-content-blank-slate.
        
        Uncompress wpTimeMachine-content-files".$format." & double check 
        the directory structure, which should look like:
        
        wp-content/
                    plugins/
                    themes/
                    uploads/
                    
        (There may be other files in there, too.)
        
        Upload wp-content into your WordPress folder from Step 1 ...
        wp-content should be at the same directory level as 
        wp-content-blank-slate
        
    Step 4)
    
        Uncompress wpTimeMachine-data-files.sql.gz ...
        
        This will create a .sql file which can be used to restore all
        of your data.
        
        Use the same method you originally used to set up your database
        to get your back up in place.  This most likely involved using
        your hosting providers instance of phpMyAdmin. 
    

_____________________________________________________________________________

    That's it ... start testing ... 
    
    wpTimeMachine, version: ".$wpTimeMachineVersion."

_____________________________________________________________________________


";

$instructions_handle = fopen($instructions, 'w');
fwrite($instructions_handle, $intructions_txt);
fclose($instructions_handle);

?>