Re: http scanner
| From: | Rory Browne | Date: | Mon, 04 Jul 2005 11:01:12 +0000 |
| Subject: | Re: http scanner | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218075@lists.php.net to get a copy of this message | ||
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
>
>