hjemmesiden´ s ip..
Jeg har et lille script her:<?php
$box = $HTTP_SERVER_VARS["SERVER_NAME"];
$boxip = $HTTP_SERVER_VARS["SERVER_NAME"] . " (" . gethostbyname($HTTP_SERVER_VARS["SERVER_NAME"]) . ")";
?>
<table class="centreboxcontent" width="100%">
<tr>
<td width="100%">
<center>
<br><br>
<p><b>System Uptimes</b></p>
<p> <?php echo $box; ?>:
<script language="php">
$date = (date("d/m/y - H:i:s"));
$uptime = system(uptime);
</script>
</p>
men hvordan får jeg den til at vise selve hjemmesiden´s ip??
se en demo af scriptet her:
http://www.crashchat.dk/Kopi%20af%20serverstatus.php
/Styler
