trying to get server variables
parent
39324dbec3
commit
7ee9985d19
|
@ -65,7 +65,7 @@
|
|||
if (isset($error_message)) {
|
||||
echo $error_message;
|
||||
}
|
||||
echo "<p>Some server variables...<br />Origin: " . $_SERVER['HTTP_ORIGIN'] . " <br />Host: " . $_SERVER['HTTP_HOST'] . " <br />Referer: " . $_SERVER['HTTP_REFERER'] . " <br />Client IP: " . $_SERVER['REMOTE_ADDR'] . " <br />";
|
||||
echo "<p>Some server variables...<br />" . $_SERVER;
|
||||
?>
|
||||
</form>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue