You are here: Re: saving content from another site « All PHP « IT news, forums, messages
Re: saving content from another site

Posted by Steve on 02/28/07 18:23

"javelin" <google.1.jvmail@spamgourmet.com> wrote in message
news:1172684528.567355.69130@j27g2000cwj.googlegroups.com...
|
| > you need to learn the preg functions and write a regular expression that
| > catures html tags such as src= and href=, etc. once you get your
matches,
| > get the contents using file_get_contents. it looks like you're either
| > screen-scraping or hacking...either way, there are tons of examples of
the
| > regex you'll need. just google 'php screen scraping'.
|
| I'm familiar with the regex and experssions, so I should be able to
| parse out the data. I was simply wondering if there were any
| functions or opensource code available for this task. I did google
| 'php screen scraping' and got lot's of pages. Looks like it's going to
| be a late night for me :-)

no problem...good luck.

 

Navigation:

[Reply to this 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

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