You are here: Re: Regular Expression to extract all .JPG and .PNG URL's « PHP Programming Language « IT news, forums, messages
Re: Regular Expression to extract all .JPG and .PNG URL's

Posted by Captain Paralytic on 10/12/07 16:07

On 12 Oct, 17:02, kosano...@gmail.com wrote:
> Everybody thank you very much for your help. However I coulndn't make
> work any of the examples. The output I get all the time is "Array" and
> that's it.
>
> Steve, image paths are not always in the src value but they are always
> quoted.
> So I thought to make it find .jpg or .png and grab the string on the
> left form the " sign. How would that be in reg exp?

Try print_r($Matches);
instead of the foreach

 

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

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