PHP相对路径

时间:2015-09-11 00:55:51

标签: php

我已经构建了一个简单的,初学者级别的PHP网站,我已被指示:

use relative paths for any links in your assignment – I should not need to deploy
your assignment into the same folder structure that you developed it in when marking

但是我不太明白这意味着什么,据我所知,我所做的就是将我的所有文件都放在:

XAMPP\htdocs\WebsiteFolder

WebsiteFolder是作业的根源,我的文件中的链接只显示如下:

header('Location: somephpfile.php')
<a href="somephpfile.php">Click Me</a> 

我在这里问过我的问题吗?

0 个答案:

没有答案
相关问题