PHP中include引用jpgraph时出现问题

来源:互联网 发布:js requestanimframe 编辑:程序博客网 时间:2024/06/05 06:59

在执行这一行时报错:

include("jpgraph/src/jpgraph.php");

Warning: include(jpgraph/jpgraph.php) [function.include]: failed to open stream: No such file or directory in…

这是因为”jpgraph/src/jpgraph.php”路径不在当前编辑的php文件同样的当前路径下,需要将jpgraph文件夹复制到当前目录下即可。
include

0 0
原创粉丝点击