Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta http-equiv="refresh" content="5;url=test.php">
- <?php
- $res = mysql_query("SELECT * FROM tableA where st='0' order by id asc LIMIT 1");
- $row = mysql_fetch_array($res);
- $link= $row['wl'];
- function getTitle($Url){
- $str = file_get_contents($Url);
- if(strlen($str)>0){
- preg_match("/</td></tr><tr><td colspan=2>(.*)</td>/",$str,$title);
- return $title[1];
- }
- }
- getTitle($link);
- ?>
- * * * * * for i in {0..59}; do curl http://your.domain.zone/page.html && sleep 1; done;
- * * * * * /usr/bin/php -q /home/username/public_html/yourpage.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement