Im A Noob And I Need I Litle Help :d

Started on the old forum in January 2009 · view the original in the archive · old links redirect here

9 replies · 464 views · started 17 years ago · 1 min read

5 participants
ionutxp Developer · 137 posts #1
$getip = getip();
$ip = mysql_fetch_array(mysql_query("SELECT ipadd FROM lib3rtymrc_users where id='".getuid_sid($sid)."'"));
if($ip!=$ipget){
echo "Dont enter here:P!!";
}else if($ip=$ipget OR $ip=""){
$res = mysql_query("UPDATE lib3rtymrc_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
//
//code
//
}

how i make this ? if the ip from dBase is not like the ip 4rom the actual browser to show the message and if isnt an ip in Dbase or the ip from dBase si = whit actual ip is to insert somethinng:D re allz

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

something else Fellow · 2,296 posts #2

u want a fake ip? why not in profiles just use something like: ///////////(1 is your user id) if($who==1){ echo "fake ip "; }else{ echo "normal ip details "; }

subzero Super moderator Fellow · 3,954 posts #3

he being at my site lol

i got a ip checker most ip come true when fake admin watch the fake 100% they spamming and trying to hack

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

ionutxp Developer · 137 posts #4

neah ... i want this 4 a protection 😀 how i can make that ? // i didnt sow that at ur site:P

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

djlee Developer · 224 posts #5

i dont see the point in this ... ur not conducting any illegal activities so storing ur ip is fine .. just use a condition where staff can only see ips of those below them

i.e.

if($user['class'] < $CURRENT_USER['class'])
 display IP

else
 Block ip
ionutxp Developer · 137 posts #6

neah i want 2 make this conditions: if the ip from dBase is not like the ip 4rom the actual browser to show the message and if isnt an ip in Dbase or the ip from dBase si = whit actual ip is to insert somethinng

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

damoon Developer · 71 posts #8

QUOTE (ionutxp @ Jan 20 2009, 09:32 PM) <{POST_SNAPBACK}>

neah never mind:D resolved

Dont create topic just because you have the opportunity k?

They are Only Two types Of people In This World We Have The Binary And The Non-Binary.........

I am the Dark-Lord Saying Hello To all the Dark-Kings of the Universe Visit my site where all the Kings Meet : Dark Region

subzero Super moderator Fellow · 3,954 posts #9

Are you admin here damoon ??

whats wrong inform ppl that its being resolved ???

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

djlee Developer · 224 posts #10

just for anyone else that whats to overwrite ips for some weird reason think about whats better

A. changing the ip on every page load B. changing the ip once

simple find the code that updates the users ip and change it so it doesnt update for certain classes/ips/uid's , then its simply finding a way to change the ip after the initial signup.. personally id use PMA.. executing a query once for the lifetime of an account doesnt require a custom UI really ?

just a tip 🙂

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close