Code: Select all
<html>
<body>
<form>
<input name="whatever" type="text" value="<?php if(isset($_SESSION['unsecured'])) echo $_SESSION['unsecured']; ?>">
</form>
</body>
</html>Moderator: General Moderators
Code: Select all
<html>
<body>
<form>
<input name="whatever" type="text" value="<?php if(isset($_SESSION['unsecured'])) echo $_SESSION['unsecured']; ?>">
</form>
</body>
</html>Code: Select all
<input name="whatever" type="text" value="<?php if(isset($_SESSION['unsecured'])) echo htmlentities($_SESSION['unsecured']); ?>">