Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $when = '2011/07/11 11:22:52';
- if ($when > strtotime('+30 days', time()));
- {
- echo "too far into the future";
- header('Refresh: 10; URL=page.php');
- die();
- }
- if ($when < time());
- {
- echo "less than current time";
- header('Refresh: 10; URL=page.php');
- die();
- }
- echo "pass";
- header('Refresh: 10; URL=page.php');
- die();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement