whats the function to display ip address
- Forums
- Tutorial and Guides
- whats the function to display ip address
This Page Contains information about whats the function to display ip address By addres in category Tutorial and Guides with 1 Replies. [660], Last Updated: Mon Jun 24, 2024
addres
Fri Apr 11, 2008
1 Comments
412 Visits
im writing a php script and need to know what is the php function to get the ip adres of a user
i need to start log into my database and also i need to know how to show or display it on my browser on my webpage
if you can help me that would be great
$_SERVER['REMOTE_ADDR']
you do it with the $_SERVER['REMOTE_ADDR']
if you want to see how it works you can copy and paste this and save it as webune-ipaddress.php and upload to your site and open it with your browser, it will show you what your ip address is
webune-ipaddress.php
echo $_SERVER['REMOTE_ADDR'];
?>
https://www.webune.com/forums/whats-the-function-to-display-ip-address.html