Welcome Guest, Not a member yet? Register   Sign In
php grab http or www links from text and return full url
#2

[eluser]Randy Casburn[/eluser]
Interesting. Is this free text uncontrolled? My point is this: you need to determine what rules you'll use as delimiters for your search whether that's via regex or strstr() or whatever.

For example I can easily grab your example string:

www.functionplace.com?id=1324354

but miss your requirement totally for something like:

http://functionplace.com?id=1324354&rabbit=jumpedOutOfAHat

Just a thought,

Randy


Messages In This Thread
php grab http or www links from text and return full url - by El Forum - 10-09-2008, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB