最新回答 / onResult
$username = $_POST['username'];$username = $句柄->escape_string(string $username);
2017-04-22
最新回答 / qq_渓颩瀧囩_0
在function uploadFile(){}中,把$destination=...后改成$destination=$path."/".$filename;
2017-04-21
最贊回答 / 一個(gè)隨便的名字
要先刪除圖片,再刪除內(nèi)容,你把內(nèi)容先刪了,就找不到圖片了,也就無(wú)法刪除圖片/** * 刪除用戶 */function delUser($id){ ? ?//echo $id; ? ?$sql = "select face from imooc_user where id=".$id; ? ?$row = fetchOne($sql); ? ?$face = $row['face']; ? ?if(file_exists("../uploads/".$face)){ ? ? ? ?unlink("../up...
2017-04-21