新手求解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())";