|
Posted by J.O. Aho on 02/21/07 17:57
javelin wrote:
> fopen fails to produce anything but a blank page, as I expected it
> would when I "rtfm". The target site is not mine, and I can't hope to
> have it opened for access anytime soon.
You need a wrapper, read appendix M for a bit more information.
> It is, essentially, a blog,
> and I need to get the posts off of a certain category every hour or
> so. I just needed some PHP or CGI code that can automatically import
> the html from a supplied URL, then display it. From there, I can work
> out a means to manipulate the resulting page.
wget allows you to download remote web pages and supports link following
and a lot more, you can use it from php with the help of exec().
--
//Aho
Navigation:
[Reply to this message]
|