-
From: ELLIOTT,KATHERINE A (HP-FtCollins,ex1)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Adding HTTP URL Code
Thanks for all your help with my URL code problem!
I have come up with a solution that seems to half
egi_replace but can't
figure out what is going on.
What the hec??? Can someone help?
Many thanks!!
Katherine Elliott
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 2:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding HTTP URL Code
I found this in the archives of this list
message title: php parsing problem with chat
message number: 103717
by: Deadsam
// // URL PARSER FOR MESSAGE $msg = ereg_replace
("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]]", "\\0",
$msg); //$msg =
ereg_replace("\[url\]([^\[]+)\[/url\]", "\\1",
$msg);
ELLIOTT,KATHERINE A (HP-FtCollins,ex1) wrote:
OK, so I've gotten NO responses to my query below so I
thought I'd ask for something slightly different and see what
I get.
if you want to get a reply
1) look in the manual/ archives first
2) use a helpful subject line
eg making links clickable
I think the reason you didn't get a reply is because no one could understand
what you wanted to happen my guess is...
You need a regular expression to turn URLs in a string into links.
So that this:
---
This is a test. It is only a test.
What happens when I include a URL in my results text?
On Wed, 8 Jan 2003, ELLIOTT,KATHERINE A (HP-FtCollins,ex1) wrote:
> OK, so I've gotten NO responses to my query below so I
> thought I'd ask for something slightly different and see what
> I get.
The follow-up inquery makes much more sense than the original ;)
> If I have a bunch of plain text d
On Thursday 09 January 2003 04:07, ELLIOTT,KATHERINE A (HP-FtCollins,ex1)
wrote:
> OK, so I've gotten NO responses to my query below so I
> thought I'd ask for something slightly different and see what
> I get.
With regards to your original query, the answer is in the archives. Try
searching for
OK, so I've gotten NO responses to my query below so I
thought I'd ask for something slightly different and see what
I get.
If I have a bunch of plain text data, how can I pull out the
strings containing "http". I've tried several different things
but what I end up with is more or less than what
8 matches
Mail list logo