Page 1 of 1

Advanced fopen-ing?(?)

Posted: Sun Jun 20, 2010 2:55 pm
by hauni
Hay guys.
I wish to open this page:
http://www.skrivebua.no/skrivebua.cgi?a ... bnr=668626
As you see, when you open it, it first takes you to http://www.skrivebua.no, before redirecting me to the desired page.
The result of this is that fopen, curl or file_get_contents wont let me read the page. If you view the source of skrivebua.no there is a JavaScript-script.
I don't know JS well, but I guess this is what redirects the page. And one more thing, the site uses iframes, so when you read the source of http://www.skrivebua.no/skrivebua.cgi?a ... bnr=668626 it's the same as it appears in the front page.
So is there anyone who can help withdraw the information from the page?
I would be so gratfeful, I have tried for such a long time now.

Code: Select all

$text = file_get_contents('http://www.skrivebua.no/skrivebua.cgi?a=lesbidrag&bnr=668626');
$text = str_ireplace('</head>', '<base href="http://www.skrivebua.no/"></head>', $text);

Re: Advanced fopen-ing?(?)

Posted: Mon Jun 28, 2010 4:14 pm
by hauni
Anyone?

Re: Advanced fopen-ing?(?)

Posted: Fri Jul 16, 2010 5:00 pm
by hauni
noone?