looking up some server variables

master
Jan Danielzick 2020-02-14 21:11:08 +01:00
parent c77fd38309
commit 4761a4216e
1 changed files with 2 additions and 1 deletions

View File

@ -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>