Restrict Script Usage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Plxply
Forum Newbie
Posts: 14
Joined: Sat Dec 19, 2009 2:40 pm

Restrict Script Usage

Post by Plxply »

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).
Post Reply