PHP/Development/Server Info
Версия от 10:37, 26 мая 2010; (обсуждение)
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>";
?>