Hey everyone , i get 1 problem in my server . Someone hit 30k and i don't know how , and last problem is how i can ban 1 class of ip , example : 166.155
I need fast reply please
I need fast reply please
More like:Quote:
update ps_userdata.dbo.users_master
set status = -5
where userip = 'xxx.xxx.xxx'
USE PS_UserData UPDATE Users_Master SET Status = -5 WHERE UserIp LIKE '166.155.%'
this works propper aswell chris ur one is just a bit more splitted. if u dont believe me u can try it urselfQuote:
update ps_userdata.dbo.users_master
set status = -5
where userip = 'xxx.xxx.xxx'
As much as it looks like it, I'm not trying to be an asshole. My code clearly says LIKE, not =, but LIKE, which means your way includes only the rows having the one IP you specify, while my result set will contain all the rows having IPs starting with '166.155.'.Quote:
this works propper aswell chris ur one is just a bit more splitted. if u dont believe me u can try it urself
Edit : (ofc u have to replace the xxx with the ip nothing to dicuss about that)
There is a "[Only registered and activated users can see links. Click Here To Register...]" button for this. ;)Quote:
Ty guys for solutions