Raised This Month: $ Target: $400
 0% 

Getting the first two octects of an IP address...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-05-2009 , 17:43   Re: Getting the first two octects of an IP address...
Reply With Quote #1

Depending on which script you use,

Mine (you will have to remove the last '.' in the list of IPs or add another '.' to the end of newip):
PHP Code:
if (equal(newipcafeIP[i])) 
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Old 02-05-2009, 18:43
Dores
This message has been deleted by Dores.
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 02-05-2009 , 18:48   Re: Getting the first two octects of an IP address...
Reply With Quote #3

This is all he wants:
PHP Code:
new ip[9];
get_user_ip(idip81);

for(new 
sizeof cafeIP i++)
{
    if(
equal(ipcafeIP[i], strlen(cafeIP[i])))
    {
        
// Give $16000
    
}

__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
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 01:45.


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