Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在php文档中包含LS-XL413内部网驱动器上的文件?_Php - Fatal编程技术网

如何在php文档中包含LS-XL413内部网驱动器上的文件?

如何在php文档中包含LS-XL413内部网驱动器上的文件?,php,Php,我的计算机中充满了通过php include/require语句访问的外部文件,因此我决定将它们放在内部网驱动器上以保留空间。然而,在尝试这样做时,我遇到了一个问题。如何在intranet驱动器上写入指向文件的链接 以下是我尝试过的include代码:(更新:我尝试了echo file\u get\u contents(“foo”)方法,但仍然产生错误。还有其他想法吗?(更新[1]:如何将驱动器号映射到网络驱动器?) 鲁克斯学院 艺术•媒体•设计 鲁克斯学院2016年艺术大会 与世界各地500

我的计算机中充满了通过php include/require语句访问的外部文件,因此我决定将它们放在内部网驱动器上以保留空间。然而,在尝试这样做时,我遇到了一个问题。如何在intranet驱动器上写入指向文件的链接

以下是我尝试过的include代码:(更新:我尝试了
echo file\u get\u contents(“foo”)
方法,但仍然产生错误。还有其他想法吗?(更新[1]:如何将驱动器号映射到网络驱动器?)


鲁克斯学院
艺术•媒体•设计

鲁克斯学院2016年艺术大会 与世界各地500多位最具创造力和才智的艺术学院精英一道,参加由世界著名艺术学者和艺术家举办的为期五天的讲座,以及七天七夜的画廊展览,展示当代艺术的精华,包括绘画、雕塑等,在西雅图市中心康坦波酒店美丽的大厅里


如果在Windows上,请将此intranet驱动器映射到计算机上的驱动器号。然后像往常一样,在php代码中包含
需要
文件

如果在Linux/Unix/Mac OS上,请将驱动器装入计算机上的文件夹。然后像往常一样,在php代码中包含
需要
文件

与file_get_contents()相比,此解决方案允许您保留
include
require
之间的区别


我无法从型号名称中找到有关您的LS-XL413驱动器的详细信息。给我们一个链接,让我们知道您使用的是什么操作系统,这样我们就可以为您提供有关映射/安装驱动器的更详细说明。

Windows,以及如何分配驱动器号?(详细信息:Windows 10)能否添加指向所用驱动器产品页的链接?我找不到驱动器,因此我不知道它是否通过NFS/CIFS/其他方式共享数据。我明天再查。
<header>
<div class="branding"> <img src="images/ralogo_monogram.png" alt="Logo">
  <p>Roux Academy<br>
    Art • Media • Design</p>
</div>
<div class="description">
  <h1>Roux Academy 2016 Art Conference</h1>
  <p>Join over 500 hundred of the most creative and brilliant minds of art colleges all around the world for five days of lectures by world-renowned art scholars and artists, and seven days and nights of gallery exhibits featuring the best in contemporary art, including painting, sculpture, and more, in the beautiful halls of Hotel Contempo in the heart of Seattle.</p>
</div>
<?php include "192.168.1.67/share/server_includes/navbar.html"; ?>
</header>