Online Ip Shower Not Working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Online Ip Shower Not Working

    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 ?

    #2
    Code:
    <?
    $user = explode (&#39;/&#39;, $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

    Comment


      #3
      $REMOTE_ADDR is obsolete

      use $_SERVER[REMOTE_ADDR]

      Comment

      Working...
      X