[RELEASE] Decode IP (PHP)

11/01/2010 17:06 janvier123#1
del
11/02/2010 05:33 Decima#2
Quote:
Originally Posted by janvier123 View Post
PHP Code:
function decode_ip($enc_ip) {
$ip_pop explode('.'chunk_split($enc_ip2'.'));
return 
hexdec($ip_pop[0]). '.' hexdec($ip_pop[1]) . '.' hexdec($ip_pop[2]) . '.' hexdec($ip_pop[3]);

PHP Code:
$getCharsIp decode_ipbin2hex$getCharsName["user_ip_addr"] ) ); 
PHP scriptwriters should find this very useful
[Only registered and activated users can see links. Click Here To Register...]
:confused:

i feel so . . . . .

violated :(
11/02/2010 09:57 Zombe#3
Janvier is becoming infamous due to stealing other people's scripts... :D

Much quicker and better way:
PHP Code:
//Get the IP out of the database and put it in $encrypted_ip
$decrypted_ip long2ip(bindec($encrypted_ip)); 
As quick as that, 1 simple line.
11/02/2010 11:41 *JayKay*#4
Good
11/02/2010 13:46 janvier123#5
ah srr didnt know it was already posted
you should learn to read, i never said ive made it
btw zombe: [Only registered and activated users can see links. Click Here To Register...]
11/02/2010 14:36 Decima#6
didnt say u made it, but u posted it, and didnt give credit to anyone, implying you did

i dont care much, i didnt make it all either, just errked me that its the only thing ive ever contributed to ur cause and didnt even get a thanks, then u used it on ur OsDs, then u released it here without even so much as a mention of me

bad karma man :(
11/02/2010 15:17 janvier123#7
Quote:
Originally Posted by Decima View Post
then u used it on ur OsDs, then u released it here without even so much as a mention of me

bad karma man :(
you really think iam going to ask every single person if i can use their code ?
no way

so stop complaining
TOPIC CLOSE !
11/02/2010 15:24 ~Kakkarot~#8
#closed