Jump to content

[SOLVED] Ristricting the number of db reads


Voodoo Jai

Recommended Posts

How can I limit the number of time someone accesses my db without them registering. Could I read the ip address and then store it and allow users to access it a specific number of times based on ip address. I dont know if this could be done or how to do it. If someone could give me some more details that would be great.

 

VoodooJai

Link to comment
Share on other sites

What do you mean by DB reads? If you are concerned about a MySQL user, then you can set the SELECT limit on MySQL user. But if you are talking about your site access, then you can count number of hits from a sepecific IP or save a cookie on client side and count the hits with its help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.