<?php $threads = unserialize(file_get_contents('http://www.example.com/external.php?type=php')); for ($i=0; $<count($threads); $i++) { echo 'thread: '.$threads[$i]['title'].'<br />'; } ?>