Get Ip Add Of User In Lavalair Script

Started on the old forum in May 2008 · view the original in the archive · old links redirect here

No replies · 716 views · started 18 years ago · 1 min read

modfiles Developer · 200 posts #1

im tryin to pull the data of ip in every user in sql to display the counttry flag in each profile but it wont show, can anyone help me to sort this out

CODE $uipadd = mysql_fetch_array(mysql_query("SELECT ipadd FROM ibwf_users WHERE id='".$who."'")); echo "Current IP: $uipadd[0] "; $des_ip .= $uipadd[0]; $q = mysql_query("SELECT cc, network FROM ibwf_carrier WHERE num_min <= '".$des_ip."' ORDER BY num_min DESC, num_max ASC LIMIT 1") or die("MySQL Error: ".mysql_error());
$info = mysql_fetch_array($q); $cc=$info[0]; echo 'Network: '.$info[1].' '; include("countries.php"); echo 'Country: '.$countries[$cc].' External image (may be gone) ';

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