Some sites seem to be session driven in the sense that if I visit the
homepage and do a few clicks I can navigate anywhere I want, but if I
paste the current location into a new browser window after having
navigated to some page, it doesn't work. It just returns to the start
page or says "timeout" etc.
This means that I can't read these pages from PHP with
$string = file_get_conten ts('http://some.url/blah/deep/link');
or whatever.
I guess the way to do then is to make PHP appear as a user-driven
browser as far as the page is concerned. And then start at the start
page and navigate down to the page in question "pressing" buttons and
"choosing" menu items from drop down items etc. from within PHP.
But how do I do this?
/David
homepage and do a few clicks I can navigate anywhere I want, but if I
paste the current location into a new browser window after having
navigated to some page, it doesn't work. It just returns to the start
page or says "timeout" etc.
This means that I can't read these pages from PHP with
$string = file_get_conten ts('http://some.url/blah/deep/link');
or whatever.
I guess the way to do then is to make PHP appear as a user-driven
browser as far as the page is concerned. And then start at the start
page and navigate down to the page in question "pressing" buttons and
"choosing" menu items from drop down items etc. from within PHP.
But how do I do this?
/David
Comment