Online Ip Shower Not Working

Started on the old forum in August 2006 · view the original in the archive · old links redirect here

2 replies · 1,116 views · started 20 years ago · 1 min read

Guest #1

HI Dear friends i tried online ip shower in my in my index page ...but nt working..i added thius on main page in free hosting this is working print "$REMOTE_ADDR please help me how make it working in my server ?

stretch Developer · 130 posts #2
<?
$user = explode ('/', $HTTP_USER_AGENT); 
$ip=("$REMOTE_ADDR");
echo "[size="1"]Browser: $user[0] IP: $ip[/size]
";
?>

= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc

sadhu #3

$REMOTE_ADDR is obsolete

use $_SERVER[REMOTE_ADDR]

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