Jump to content

Removing certain text


master82

Recommended Posts

Is it possible to remove certain text from an input before it is stored in the database?

 

I have a lot of people spamming my site with their own sites...

 

i have already removed thr www. and com co.uk etc but it still doesnt stop people guessing.

 

So is it possible to remove everything between www. and .com for example?

 

ie replace www.sitehere.com with -removed-

Link to comment
https://forums.phpfreaks.com/topic/40763-removing-certain-text/
Share on other sites

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.