|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
LOGIN BLOCKER SYSTEM in PHP
What is the point of blocking access to a website using an IP or cookies for a specific amount of time?
Why block using IP? Why block using cookies? Why not block per session?; as I don't know enough about PHP as well as I know ASP. I don't know how to create a session based LOGIN BLOCKER SYSTEM in PHP(yet). Don't get me wrong I have created bunch of websites in PHP and have asked a few questions to help me with them but I just don't unserstand. |
|
#2
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
Blocking by cookies is pretty pointless, just clear your cookies and you are unblocked...
|
|
#3
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
Blocking by IP also makes no sense then; you have to wait 30 minutes or whatever time you as the coder/owner decides.
But also it blocks all users from same IP address; problem if it's on the same network. I wouldn't actually know the best option to use. Maybe captcha is better to utilize but still does not stop cackers from trying to get in. Cheers West |
|
#4
|
|||
|
|||
|
RE: LOGIN BLOCKER SYSTEM in PHP
i am not really clear what you are trying to do.
are you trying to block a user from logging in or are u trying to block crawlers from crawling your website? |
|
#5
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
No this is the general chat section but if you have code post it.
Cheers West |
|
#6
|
|||
|
|||
|
RE: RE: LOGIN BLOCKER SYSTEM in PHP
Quote:
right. general chat , but still there has to be a definite purpose to the topic in discussion ,no? there are several different methods of going about blocking access to site based on different scenarios. So some pointer would be help as to what are you trying to achieve and on what level are you trying to block access. i can only post code if i know what i am posting it for |
|
#7
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
Ok I looked at an IP blocking system but it only blocks the IP which means that if there are other users on the same network they can't get in.
So how would you propose the blocking to your site if a user logs in more than 3 or 5 times? Time limit? Or Your proposal... Cheers west |
|
#8
|
||||
|
||||
|
RE: RE: LOGIN BLOCKER SYSTEM in PHP
By crawlers; do you mean search engine crawlers?
Quote:
By crawlers; do you mean search engine crawlers? Cheers West |
|
#9
|
|||
|
|||
|
RE: LOGIN BLOCKER SYSTEM in PHP
ok if i were to suggest i solution , i would go about doing it like this...
in the users table , i will have a field for instance "tempblock".by default this field is set to 0.. When user logs in for the third time , i set something like this in the that field for that user like mktime()+3600 .When login in all users check user, password,tempblock .. if tempblock is 0 or mktime in the field is greater than current mktime let him go ahead and set the tempblock field again to zero. otherwise tell him to wait for the remaining time indicated by the field data. |
|
#10
|
|||
|
|||
|
RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP
Quote:
SEs and other leechers , taking data from your site and showing on their own etc |
|
#11
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
Not a bad idea?
Will try it, not now too tired will do later. Anyways what time is it by you? I am South Africa and it is 16h:00 Cheers West |
|
#12
|
||||
|
||||
|
RE: RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP
How do you block those?
Quote:
I think you know too much. HA HA just kidding but really how do you. Cheers West |
|
#13
|
|||
|
|||
|
RE: LOGIN BLOCKER SYSTEM in PHP
Hope your adventure goes well.
its 7:30PM i am GMT +5 |
|
#14
|
||||
|
||||
|
RE: LOGIN BLOCKER SYSTEM in PHP
I have to go drink(not coffee) and eat.
Cheers West |
|
#15
|
|||
|
|||
|
RE: RE: RE: RE: RE: LOGIN BLOCKER SYSTEM in PHP
Quote:
well 6 years in web development ought to be enough to know alot but not all ofcourse |
![]() |
| Viewing: Codewalkers Forums > General > General Chat > LOGIN BLOCKER SYSTEM in PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|