Raised This Month: $51 Target: $400
 12% 

is_user_lan ( check if ip in lan ... )


Post New Thread Reply   
 
Thread Tools Display Modes
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 01-12-2012 , 14:39   Re: is_user_lan ( check if ip in lan ... )
Reply With Quote #11

I do not know why, but still not work.

Code:
if(containi(IP, szLine) == -1)
everyone is tagged: [NO LAN]

IF
Code:
if(containi(IP, szLine) != -1)
nobody gets the tag ...
__________________
rx1983 is offline
Send a message via MSN to rx1983
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-12-2012 , 16:27   Re: is_user_lan ( check if ip in lan ... )
Reply With Quote #12

If it doesn't work then try to edit my plugin (link in my previous post).
__________________
Impossible is Nothing
Sylwester is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-12-2012 , 23:56   Re: is_user_lan ( check if ip in lan ... )
Reply With Quote #13

YOu could use regex to look for 192.168.x.x or 10.0.x.x or whatever.
__________________
fysiks is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 01-13-2012 , 09:59   Re: is_user_lan ( check if ip in lan ... )
Reply With Quote #14

Quote:
Originally Posted by Sylwester View Post
If it doesn't work then try to edit my plugin (link in my previous post).
ok sylwester,
I did some tests with your plugin and was the only one that worked properly.
all others can not select different ips.
now agredeço all helps and I will do more tests with this plugin.
is some error of detecting ip back to post this topic.
thank you
__________________
rx1983 is offline
Send a message via MSN to rx1983
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode