Restrict Script Usage
Posted: Tue Apr 13, 2010 2:48 pm
Hello,
I'm interested in using my previously created "contact" and implementing a limit on how many times an IP address can use it in a day, as such I think that it would be most appropriate to use a MySQL database to store the IP address as well as the date the record was made and increment it accordingly. Although I'm wondering if there may be a more efficient way of doing so, for example using cookies instead of a database (but this would obviously leave them open to manipulation).
I'm interested in using my previously created "contact" and implementing a limit on how many times an IP address can use it in a day, as such I think that it would be most appropriate to use a MySQL database to store the IP address as well as the date the record was made and increment it accordingly. Although I'm wondering if there may be a more efficient way of doing so, for example using cookies instead of a database (but this would obviously leave them open to manipulation).