How to avoid spam postings in my website

Thread Solved

Join Date: Nov 2008
Posts: 99
Reputation: csharplearner is an unknown quantity at this point 
Solved Threads: 3
csharplearner's Avatar
csharplearner csharplearner is offline Offline
Junior Poster in Training

How to avoid spam postings in my website

 
0
  #1
Jan 26th, 2009
Hello all,

I have this strange problem. I have a website where user can post messages to the site. I see from yesterday that someone is trying is manipulate with the forms.

I see some 1048 messages posted in a single minute to the site .
I used nl2br(htmlentities(-displaymessage)).. but it only captures html code. What about other scripts code that malicious users try to run.. I see no code or anything displayed in my website. The only thing i see is soo many messages posted to the site in less than a single minute.

Please help me .. how to avoid these kind of things...
Last edited by csharplearner; Jan 26th, 2009 at 10:45 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 596
Reputation: buddylee17 has a spectacular aura about buddylee17 has a spectacular aura about 
Solved Threads: 125
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Pro

Re: How to avoid spam postings in my website

 
0
  #2
Jan 26th, 2009
Use captcha.
Lost time is never found again.
- Benjamin Franklin
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 99
Reputation: csharplearner is an unknown quantity at this point 
Solved Threads: 3
csharplearner's Avatar
csharplearner csharplearner is offline Offline
Junior Poster in Training

Re: How to avoid spam postings in my website

 
0
  #3
Jan 26th, 2009
Originally Posted by buddylee17 View Post
Use captcha.
Thanks for the quick reply. I shall use it definetly.

Can you please tell me how to display that javasrcipt code instead if allowing it to run in the website ..just like capturing html...
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 596
Reputation: buddylee17 has a spectacular aura about buddylee17 has a spectacular aura about 
Solved Threads: 125
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Pro

Re: How to avoid spam postings in my website

 
1
  #4
Jan 27th, 2009
Either disable html messages or look into using BBCode
Last edited by buddylee17; Jan 27th, 2009 at 10:44 am.
Lost time is never found again.
- Benjamin Franklin
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 99
Reputation: csharplearner is an unknown quantity at this point 
Solved Threads: 3
csharplearner's Avatar
csharplearner csharplearner is offline Offline
Junior Poster in Training

Re: How to avoid spam postings in my website

 
0
  #5
Jan 31st, 2009
Originally Posted by buddylee17 View Post
Either disable html messages or look into using BBCode
Thanx a Ton.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC