Please kindly help to correct the error. Warning: chkinput: include (connconn. php) [chkinput. include]: failedtoopenstream: NosuchfileordirectoryinD: Callback. phponli
Please kindly help me to correct the error
Warning: chkinput: include (conn/conn. php) [chkinput. include]: failed to open stream: No such file or directory in D: \ AppServ \ www \ xiaoyuan \ admin \ chkadmin. php on line 15
Warning: chkinput: include () [function. include]: Failed opening 'Conn/conn. php 'for declaration (include_path = '.; c: \ php5 \ pear ') in D: \ AppServ \ www \ xiaoyuan \ admin \ chkadmin. php on line 15
Warning: mysql_query (): supplied argument is not a valid MySQL-Link resource in D: \ AppServ \ www \ xiaoyuan \ admin \ chkadmin. php on line 16
Warning: mysql_fetch_array (): supplied argument is not a valid MySQL result resource in D: \ AppServ \ www \ xiaoyuan \ admin \ chkadmin. php on line 17
The following is the chkadmin. php code.
Header ("Content-type: text/html; charset = gb2312"); // sets the file encoding format
Class chkinput {
Var $ name;
Var $ pwd;
Function chkinput ($ x, $ y)
{
$ This-> name = $ x;
$ This-> pwd = $ y;
}
Function checkinput ()
{
Include ("conn/conn. php ");
$ SQL = mysql_query ("select * from tb_admin_user where name = '". $ this-> name. "'", $ conn );
$ Info = mysql_fetch_array ($ SQL );
If ($ info = false)
{
Echo"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.