IM編輯一些代碼的客戶端,但我被困在一塊代碼
<?php
include("sample/model.php");
if(!empty($username) && !empty($pass)){
$data = aut($username,$pass,$database);
?>
<form id="login" action="index.php" method="post">
<label>User</label>
<input type="text" name="username" id="req" placeholder="User">
<label>Password:</label>
<input type="password" name="pass" id="pass" placeholder="Password">
<input type="submit" name="submit" value="Enter">
</form>
正如你所看到的表單提交給它的自我,是如何的數據轉換到後一個變量,在包含的文件中沒有這樣做的功能,在index.php中沒有其他相關的代碼。 希望有人可以幫助。 感謝先進!
一個什麼樣的問題是什麼?我們如何找出'aut()'做了什麼?使用你的編輯器 - >在文件中查找 - >搜索'aut(' – Ghost 2014-09-13 00:45:49