forked from root/threadr.lostcave.ddnss.de
catched a possibly not assigned variable, tried fixing some errors with some other variables
parent
b976c84caf
commit
39324dbec3
|
@ -61,8 +61,12 @@
|
||||||
<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 "<p> $error_message </p>"; ?>
|
<?php
|
||||||
<?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 />"; ?>
|
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 />";
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue