PHP/Development/Server Info
Get Server address
<?
$address = getenv("REMOTE_ADDR");
echo $address
?>
Remote host
<?php
echo "<PRE>";
echo "<BR><B>Remote Host :</B> $REMOTE_HOST";
echo "</PRE>";
?>
Remote port
<?php
echo "<PRE>";
echo "<BR><B>Remote Port :</B> $REMOTE_PORT";
echo "</PRE>";
?>