Reply to Re: saving content from another site

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация