Improved (trusted) client IP retrieval

This commit is contained in:
mattpass
2020-03-08 12:24:32 +00:00
parent 6ded70720d
commit 551e19e53a
3 changed files with 13 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ h2 {color: rgba(0,198,255,0.7)}
<span class="heading"><?php echo $t['Browser'];?></span><br>
<?php echo xssClean($_SERVER['HTTP_USER_AGENT'],"html");?><br><br>
<span class="heading"><?php echo $t['Your IP'];?></span><br>
<?php echo $_SERVER['REMOTE_ADDR'];?><br><br>
<?php echo getUserIP();?><br><br>
</div>
<div style="float: left">