I want to simply pull data from external url which use session. I have a website with login. after login there is a page which includs on tables data. I want to pull these data from it. Extracting data from this page is not a problem. Real problem is its includes on session. When i try to retrieve data with an url then its show an blank page. Nothing is showing. It will be great help if this problem is resolved. Please someone tell me how can i resolve this session issue? Below is my code:
$html = new simple_html_dom();<br>
$html->load_file('http://example.com/portfolio/page=5');<br>
foreach($html->find('body') as $e){
$array = $html->innertext;<br>
echo $array;
}