944,005 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 745
  • PHP RSS
Jan 26th, 2009
0

How to avoid spam postings in my website

Expand Post »
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.
Similar Threads
Reputation Points: 11
Solved Threads: 3
Junior Poster in Training
csharplearner is offline Offline
99 posts
since Nov 2008
Jan 26th, 2009
0

Re: How to avoid spam postings in my website

Use captcha.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007
Jan 26th, 2009
0

Re: How to avoid spam postings in my website

Click to Expand / Collapse  Quote originally posted by buddylee17 ...
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...
Reputation Points: 11
Solved Threads: 3
Junior Poster in Training
csharplearner is offline Offline
99 posts
since Nov 2008
Jan 27th, 2009
1

Re: How to avoid spam postings in my website

Either disable html messages or look into using BBCode
Last edited by buddylee17; Jan 27th, 2009 at 10:44 am.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007
Jan 31st, 2009
0

Re: How to avoid spam postings in my website

Click to Expand / Collapse  Quote originally posted by buddylee17 ...
Either disable html messages or look into using BBCode
Thanx a Ton.
Reputation Points: 11
Solved Threads: 3
Junior Poster in Training
csharplearner is offline Offline
99 posts
since Nov 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: strange mysql problem?!
Next Thread in PHP Forum Timeline: create a database table





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC