You are here: Re: Screen Scrape Issue preg_match « PHP Programming Language « IT news, forums, messages
Re: Screen Scrape Issue preg_match

Posted by Rik on 10/24/06 16:02

cainwebdesign@gmail.com wrote:
> I need to create a simple page to find the .gif file below from the
> page below. No matter what I try it doesn't work.... Any ideas?
>
> http://www.toysrus.com/product/index.jsp?productId=2327085
>
>
> prod_AddtoCart.gif

preg_match('|<div[^>]*?id="toShow"[^>]*>.*?<img[^>]*?src="([^"]*)"|si',$htm
l,$match);
$src = $match[1];

--
Grtz,

Rik Wasmus

 

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

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