Hello there.
I hope you can help me please with a big of “forward planning” we’re considering.
We have just launched a new custom made script which we use for Support, when each
new Support ticket is opened it’s inserted into a MySQL database and therefore
awaiting staff viewing. Immediately an email is sent to the user detailing their
unique ID, and a link to “open” their ticket from a user script which lets them
add replies to the ticket.
This is all working perfectly, but one thing that concerns me is they could post
loads of information, repeatidly, and therefore put strain on the server and MySQL
server.
Is there a possible piece of code I can include in the script that would stop
multiple submissions to the same ID? Let’s say … 2 per hour? Not only for replying
a ticket they made, but from the original form too? Is it possible to “block” an IP
and echo out a message that they cannot submit a new ticket, or update one for the
required time:submission ratio?
Many thhanks for any advice.