Reply to Re: extracting http addresses

Your name:

Reply:


Posted by Tyrone Slothrop on 09/30/05 17:05

On Fri, 30 Sep 2005 06:08:05 GMT, "anton-io!"
<submit@NOSPAMpropertysolutions.ca> wrote:

>I would like to extract 3 urls from text entered in to a text box:
>
>sample input text example:
>
><a href="http://www.something123.com/click?id=1234&type=2&subid=0" >
><IMG border=0 src="http://www.something123.com/images/001001001.JPG" ></a>
><IMG border=0 width="1" height="1"
>src="http://www.something123.com/show?id=HY&type=2&subid=03" >
>
>desired output with 'http' :
>
>http://www.something123.com/click?id=1234&type=2&subid=0
>http://www.something123.com/images/001001001.JPG
>http://www.something123.com/show?id=HY&type=2&subid=03
>
>Any tips greatly appreciated
>Thanks greatly!

Look here:
http://us3.php.net/manual/en/function.eregi-replace.php
Near the bottom of the page.

[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

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