Welcome Guest, Not a member yet? Register   Sign In
i need block a proces using the ip address
#2

[eluser]2think[/eluser]
Hi Tnathos,
If I understand you clearly, you may have a few users in one company coming in from a single ip address? If you want to block a particular user, there are a couple possible solutions that come to mind. I'm sure more knowledgeable users will be able to highlight the plus/minus of them and others.

For starters, you can use some type of registration and set a value in their session or just use session data by itself.

I'm not an expert on sessions in PHP or in general but from my understanding, if you store the session data in the database and combine with something identifying that particular user, it should be easier to determine him/her sending one email per day. Of course, that would also depend on your session's lifespan.

Second, you could simply have a table that checks for all/specific users who have sent an email that day and if they are already in there, don't allow it to send (form/model validation).

Hope this helps.


Messages In This Thread
i need block a proces using the ip address - by El Forum - 02-08-2010, 02:29 PM
i need block a proces using the ip address - by El Forum - 02-08-2010, 04:46 PM
i need block a proces using the ip address - by El Forum - 02-08-2010, 05:01 PM
i need block a proces using the ip address - by El Forum - 02-09-2010, 12:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB