You are here: Re: [PHP] http scanner « PHP « IT news, forums, messages
Re: [PHP] http scanner

Posted by Rory Browne on 09/28/72 11:20

Something along the lines of

preg_replace("#(http://|www\.)\S+#", "<a....></a>", $line)

I´d have put the proper code in, except that I´m still getting used to
a spanish keyboard layout - and don´t know the layout too well.

Rory

On 7/2/05, timothy johnson <mr2bigjohnson@gmail.com> wrote:
> I am still writing a script for my friend he asked me about being able
> to scan strings and make any strings that have http links in them,
> able to be an anchor in a broswer, as I am sure I am not the first to
> do this, any one have any ideas??? I am on php.net looking thru the
> functions see lots of ides but nothing that seems to want to work.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

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

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