PDA

View Full Version : get URL out of $post[message]


ThorstenA
23 Apr 2007, 20:32
Hi!

I'd like to get the URL out of $post[message]. It's possible with preg_match but I am not familiar with it. It's not working with this code.

Hello, I am your Forum (http://www.vbulletin.com?forumdisplay.php=243)!

I'd like to check if url starts with http://www.vbulletin.com!


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

TheRed
23 Apr 2007, 23:45
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

ThorstenA
24 Apr 2007, 16:25
It's not working for $post['message'] as $mystring :(