Jump to content

replace URLs in message.


StirCrazy

Recommended Posts

Cheers Daniel ~ having a look now. Think that function just spits up urls (but reading now so not sure)

What I wat to do is:-

[b]$msg =[/b]

[quote]Hi there,

This is a private message from 'test user'.

Have a look at my profile @ http://www.thisdomain.com/myprofile

But I want to send you this spam link http://www.any-other-website.com

Regards,
Test User.[/quote]


I want [i]http://www.thisdomain.com/myprofile[/i] to be let thru (because it's on the same domain)
but
[i]http://www.any-other-website.com[/i] to be blanked out.


S.C>
how do you mean?

still working on this.  I know this is possible - something similar is used in phpbb when [url][/url] tags are automatically put round links. Could use the same principle to identify and check links before choosing to blank out urls or not.

S.C>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.