下面
<?php $name = $_POST['username']; $pwd = md5($_POST['password']); $sql = "select * from user where username='$name'"; $info = mysql_query($sql); $res = mysql_num_rows($info); ?>
PHP中文网用户-86033932023-06-21 10:15:26
No way to link data? Just bring it with you. And the submitted post is not filtered, can it be queried directly? Doing so runs the risk of being attacked