Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require('MulticraftAPI.php');
- $api = new MulticraftAPI('http://play.flanvival.com/multicraft/api.php', 'admin', 'no');
- $subject = ($api-> getServerLog(1));
- $pattern = '/([0-9]{4}-[0-9]{4})/';
- $matches = preg_grep($pattern, $subject);
- print_r ($matches);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement