Accueil/blogs.php
2010-09-14 21:38:29 +00:00

12 lines
312 B
PHP

<?
require('blogs_last_post.php');
$opts = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 10);
$blogs = new Blogs_last_post();
foreach($blogs->getLinks() as $link)
{
$blogs->addSession($link['url'], $opts);
}
echo $blogs->getEverything();
$blogs->clear();