+ -
当前位置:首页 → 问答吧 → php中include的问题

php中include的问题

时间:2011-06-09

来源:互联网

=700) window.open('http://bbs.lampbrother.net/C:\Documents');" onload="if(this.offsetWidth>'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" >如此目录,想要2.php访问1.php中的内容,然后在通过3.php在访问2.php的内容,请问2.php中和3.php中如何写include,各位大侠帮帮忙!!
图片:目录.jpg
=700) window.open('http://bbs.lampbrother.net/attachment/Mon_1106/179_51132_15f82c8ddf4da97.jpg');" onload="if(this.offsetWidth>'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" >

作者: zixin731   发布时间: 2011-06-09

如果是相对路径 全部是相对你访问的那个文件的路径就好了
在项目中 一般都是在入口文件 设置一个绝对路径的项目路径的 其余的都是在这个基础上来做修改的

作者: 刘伟平   发布时间: 2011-06-10