##### Here is how you get your time, create time.php <?php echo time(); ?> #### Here is the timelock code commented so its easy to follow <?php //PHP Code for timelock: // add the following code to your project. // the time reflects the linux / unix time using the simple echo time(); // the $start_trial time is the current time or the time I create the trial period to begin. $start_trial = 1157044256; // to add the trial time you multiply days times hours times minutes times seconds so // it would be 7x24x60x60=604800 for a 7 day trial. // add echo time(); to a file called time.php to get server time. //$end_trial = $start_trial + 604800; $end_trial = $start_trial + 259200; $current_time = time(); $remaining_trial = $end_trial - $current_time; if ($current_time > $end_trial) { die('Your demo has expired. Jared would like to get off the government cheese program, <a href="http://www.thebrokersedge.com" target="_blank">Pay The Man!</a> You will then receive the unlock files'); } ?>