【发布时间】:2011-12-08 12:17:11
【问题描述】:
关于链接文件一定有一些我不明白的地方——但这是我的问题。
基本上,我有三个文件。
- generalfunctions.php
- wordcount.php
- index.php
这三个文件都在不同的目录中。
B 依赖于 A 如下:../../../phpfunctions/generalfucntions.php
当我运行 B 时,一切都很好。
但是 C 依赖于 B 如下:../wordcount.php
当我运行 C 时,我收到一条错误消息,提示找不到链接文件 A。
实际错误是:
第 11 行的 /.../public_html/plaoul/text/statistics/wordcount.php 中没有这样的文件或目录
任何想法我做错了什么??
感谢您的帮助。
【问题讨论】:
-
@Sinthia public_html/plaoul/text/statistics/wordcount.php
-
感谢您提出的好问题。如果明确提及站点/文件结构,可能会更容易理解。