htmlentities -> htmlspecialchars
This commit is contained in:
@@ -124,7 +124,7 @@ include_once("kindeditor.php");
|
||||
密码:
|
||||
<input type="text" class="form-control" name="password" placeholder="谨慎操作!请勿随意修改"<?php if ($isadmin == 1) echo " readonly";?>>
|
||||
邮箱:
|
||||
<input type="email" class="form-control" name="email" value="<?php echo htmlentities($email,ENT_QUOTES,"UTF-8")?>"<?php if ($isadmin == 1) echo " readonly";?>>
|
||||
<input type="email" class="form-control" name="email" value="<?php echo htmlspecialchars($email,ENT_QUOTES,"UTF-8")?>"<?php if ($isadmin == 1) echo " readonly";?>>
|
||||
学校
|
||||
<input type="text" class="form-control" name="nick" value="<?php echo $school;?>"<?php if ($isadmin == 1) echo " readonly";?>>
|
||||
<button type="submit" class="btn btn-dark">提交</button>
|
||||
|
||||
Reference in New Issue
Block a user