代码require (strtolower($object) . '.class.php');运行出现如下错误提示:Fatal error: require(): Failed opening required 'pscws3.class.php' (include_path='.;C:\php\pear') in D:\php\wamp\www\scws002\demo.php on line 208
我将其改为require ".class.php";就运行正常了。 但是这里我不明白为什么要进行大小写转换,有什么意义?正确的写法该是什么?
我将其改为require ".class.php";就运行正常了。 但是这里我不明白为什么要进行大小写转换,有什么意义?正确的写法该是什么?
解决方案 »
- 删除记录问题
- 网页乱码问题
- 一个正则替换问题
- The webpage cannot be found 。。。。
- thinkphp 怎么根据后台的栏目添加文章
- 怪事:在EditPlus中编辑都是好的,在Eclipse中打开就是乱码(头部会出现一个字符:锘),将文件编码设置为UTF-8,就是好的,但设置成gb23
- 一个网站内容有多套模板,片头动画也有多套模板,我该如何设计文件夹路径,急~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 谁能告诉我?
- header函式怎样将数组参数传送到下一页?
- 怎么替换MYSQL中某字段的内容,参数替换
- QQ联合登录问题
- 棒棒忙这个函数到底是讲的什么意思啊?
我将其改为require ".class.php";就运行正常了。
指的是前面的 strtolower($object) 没要了?
那么用require ".class.php"可以代替如下整个引用语句: require "cccc.class.php";
require "dddd. class.php";
require "dddd. class.php";