require的问题 require "./global.php"对的../上级 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看看你的php.ini中的incluce_path是否有.如果没有,你就必须require './file.php';否则就可以require 'file.php'; include_path = "c:\apache2\htdocs\admin;c:\apache2\htdocs\;c:\apache2\htdocs\other;c:\apache2\htdocs\other\phpmyadmin"其中c:\apache2\htdocs\admin就是文件目录。要改成什么样子才能用require 'file.php'?没看明白怎么弄。 比如你的'file.php'放在 D:\web\include 中那么include_path = "D:\web\include" to wangmingsky(磨碎的沙子):你没注意看我上边写的那个include_path,我就是你这样加的,但它必须是require "./file.php"才行,require "file.php"就是错的。 php.ini中将include_path设置为./ 为什么有的是花括号、有的是中括号,各代表什么意思呢?请各位大侠指教一下 char和varchar长度设定问题 如何用PHP开发邮局系统? 谁回整合Discuz!4.1和PHP168 3.5啊? 表单hidden样式的用途 mysql 删除用户,再建立相同用户产生的问题 这段代码能优化吗? 这个登陆页面为什么不能回到前一个URL? 关于frame里面的参数传递问题,火急 请教一个SQL的问题,请大家帮忙 [求助] Array & eval问题 学习3天PHP,写得小程序
如果没有,你就必须
require './file.php';
否则就可以
require 'file.php';
其中c:\apache2\htdocs\admin就是文件目录。要改成什么样子才能用require 'file.php'?
没看明白怎么弄。
那么include_path = "D:\web\include"
你没注意看我上边写的那个include_path,我就是你这样加的,但它必须是require "./file.php"才行,require "file.php"就是错的。