问题描述
我在设置默认公共目录的路径时遇到问题:
我的目录结构是:-
公共html/部门/file1.php
公共html/link.php
现在我当前的工作目录是:public html/department/
我需要从公共目录中获取一个文件(link.php).因此,在设置公共html的路径时应如何使用include函数?
请给我一个脚本,而不只是提供一个设置公共html路径以从部门目录内的公共html调用文件的功能,请帮忙.
I have a problem with setting path to default public directory :
My directory Structure is :-
public html/ department / file1.php
public html/link.php
Now my current working directory is : public html/ department /
and i need a file (link.php) from public directory.So how shall i use include function in setting path to public html ?
Pls if you can help me by ,giving a script and not just a function for setting path to public html to call file from public html inside department directory.
这篇关于如何回到公共HTML路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!