looking up some server variables
parent
c77fd38309
commit
4761a4216e
|
@ -61,7 +61,8 @@
|
||||||
<input type="password" maxlength="256" name="password" placeholder="Password" />
|
<input type="password" maxlength="256" name="password" placeholder="Password" />
|
||||||
<input type="password" maxlength="256" name="password_confirmation" placeholder="Repeat password" />
|
<input type="password" maxlength="256" name="password_confirmation" placeholder="Repeat password" />
|
||||||
<input type="submit" value="Add" />
|
<input type="submit" value="Add" />
|
||||||
<?php echo $error_message; ?>
|
<?php echo "<p> $error_message </p>"; ?>
|
||||||
|
<?php 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 />"; ?>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue