作者:追风神驹体育专营_462 | 来源:互联网 | 2017-05-14 02:21
新手求解include_path问题?add.php与conn.php在同一个文件夹里。。Warning:include(..conn.php)[function.include]:failedtoopenstream:NosuchfileordirectoryinE:wwwrootbbs1add.phponline
新手求解include_path问题?
add.php与conn.php在同一个文件夹里。。
Warning: include(../conn.php) [function.include]: failed to open stream: No such file or directory in E:\wwwroot\bbs1\add.php on line 3
Warning: include() [function.include]: Failed opening '../conn.php' for inclusion (include_path='.;C:\php5\pear') in E:\wwwroot\bbs1\add.php on line 3
这是什么原因?求解。。。
------解决方案--------------------$sql="insert into message (user,title,content,lastdate) values ('{$_POST[user]}','{$_POST[title]}','{$_POST[content]}',now())";