protected function load() { $xml = \File::getRemote($this->url); $xml = simplexml_load_string($xml); return $xml->channel->item; }
return Icsconfig::getLicense(); }); Route::get('iron', function () { for ($i = 0; $i < 10; $i++) { echo 'Running ' . $i . '<br/>'; $message = '[....] Hi...' . time(); Queue::push('Emayk\\Ics\\Queue\\iron', array('message' => $message)); sleep(2); } echo 'Done'; }); Route::get('crow', function () { $url = 'http://www.kaskus.co.id/classified/317'; $url_thread = 'http://www.kaskus.co.id'; $html = new simple_html_dom(); $fileremote = File::getRemote($url); $html->load($fileremote); $baris = 0; $tds = array(); $table = $html->find('table.zebra', 0); $a_baris = array(); $sf_href = ''; $sf_text = ''; $reply = 0; $viewer = 0; $last_post = ''; $last_by = ''; $last_date = ''; $last_href = ''; foreach ($table->find('tr') as $tr) { foreach ($tr->find('td') as $k => $td) {