Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
PHP/MySQL Spamming
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Heaplink" data-source="post: 203084" data-attributes="member: 8966"><p>Habbo uses a whole other approach, through their flash client. Since you wan't to prevent spam in an PHP application, it's a whole other story. It's not easy to make sure a user doesn't spam with just Javascript (it's client-side, don't trust your users in anything) so you will use PHP as your server-side to validate the input and timestamp etc.</p><p> </p><p>Something like: If the date of the last message sent by user is < minimum wait date then abort the insertion - otherwise go on.</p></blockquote><p></p>
[QUOTE="Heaplink, post: 203084, member: 8966"] Habbo uses a whole other approach, through their flash client. Since you wan't to prevent spam in an PHP application, it's a whole other story. It's not easy to make sure a user doesn't spam with just Javascript (it's client-side, don't trust your users in anything) so you will use PHP as your server-side to validate the input and timestamp etc. Something like: If the date of the last message sent by user is < minimum wait date then abort the insertion - otherwise go on. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
PHP/MySQL Spamming
Top