<i id='qGt93'><tr id='qGt93'><dt id='qGt93'><q id='qGt93'><span id='qGt93'><b id='qGt93'><form id='qGt93'><ins id='qGt93'></ins><ul id='qGt93'></ul><sub id='qGt93'></sub></form><legend id='qGt93'></legend><bdo id='qGt93'><pre id='qGt93'><center id='qGt93'></center></pre></bdo></b><th id='qGt93'></th></span></q></dt></tr></i><div id='qGt93'><tfoot id='qGt93'></tfoot><dl id='qGt93'><fieldset id='qGt93'></fieldset></dl></div>
  • <small id='qGt93'></small><noframes id='qGt93'>

  • <legend id='qGt93'><style id='qGt93'><dir id='qGt93'><q id='qGt93'></q></dir></style></legend>
  • <tfoot id='qGt93'></tfoot>

        <bdo id='qGt93'></bdo><ul id='qGt93'></ul>

      1. PHP - 将变量放入 url 时,include() 文件不起作用?

        PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)
      2. <i id='5pEZv'><tr id='5pEZv'><dt id='5pEZv'><q id='5pEZv'><span id='5pEZv'><b id='5pEZv'><form id='5pEZv'><ins id='5pEZv'></ins><ul id='5pEZv'></ul><sub id='5pEZv'></sub></form><legend id='5pEZv'></legend><bdo id='5pEZv'><pre id='5pEZv'><center id='5pEZv'></center></pre></bdo></b><th id='5pEZv'></th></span></q></dt></tr></i><div id='5pEZv'><tfoot id='5pEZv'></tfoot><dl id='5pEZv'><fieldset id='5pEZv'></fieldset></dl></div>

        <small id='5pEZv'></small><noframes id='5pEZv'>

        • <legend id='5pEZv'><style id='5pEZv'><dir id='5pEZv'><q id='5pEZv'></q></dir></style></legend>
          <tfoot id='5pEZv'></tfoot>

                <tbody id='5pEZv'></tbody>
                <bdo id='5pEZv'></bdo><ul id='5pEZv'></ul>

                  本文介绍了PHP - 将变量放入 url 时,include() 文件不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在 PHP 中,我构建了一个使用 include() 加载网站部分的网页.但是,我现在遇到了类似的问题:当我使用如下网址时:data-openov-storingen.php?type=actueel它给了我这个错误:

                  In PHP I've build a webpage that uses include() for loading parts of the website. However, I now ran into something like a problem: When I use an url like: data-openov-storingen.php?type=actueel It gives me this error:

                  Warning: include(data-storingen.php?type=actueel): failed to open stream: No such file or directory in blablabla
                  

                  是否可以在 include() url 中传递 get 变量?

                  Is it even possible to pass get variables in an include() url?

                  推荐答案

                  include() 函数不通过 HTTP 访问文件,它通过操作系统自己的文件系统访问文件.所以 GET 变量不计算在内.(因为它们不是文件名的一部分).

                  The include() function does not access the file via HTTP, it accesses the file through the OS's own file system. So GET variables are not counted. (as they are not part of the file name).

                  通俗地说,include 的目的是将一个文件上的所有内容复制/粘贴"到另一个文件上,这样您就不会拥有一个巨大的文件,而是一些更小、更易于维护的文件.

                  In layman's terms, the point of include is to "copy/paste" all the contents on one file to another on the file, so that you don't have one gigantic file, but a few smaller, more maintainable ones.

                  这篇关于PHP - 将变量放入 url 时,include() 文件不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <tbody id='WnCoz'></tbody>
                1. <i id='WnCoz'><tr id='WnCoz'><dt id='WnCoz'><q id='WnCoz'><span id='WnCoz'><b id='WnCoz'><form id='WnCoz'><ins id='WnCoz'></ins><ul id='WnCoz'></ul><sub id='WnCoz'></sub></form><legend id='WnCoz'></legend><bdo id='WnCoz'><pre id='WnCoz'><center id='WnCoz'></center></pre></bdo></b><th id='WnCoz'></th></span></q></dt></tr></i><div id='WnCoz'><tfoot id='WnCoz'></tfoot><dl id='WnCoz'><fieldset id='WnCoz'></fieldset></dl></div>

                      <small id='WnCoz'></small><noframes id='WnCoz'>

                      1. <tfoot id='WnCoz'></tfoot>

                          <legend id='WnCoz'><style id='WnCoz'><dir id='WnCoz'><q id='WnCoz'></q></dir></style></legend>
                          • <bdo id='WnCoz'></bdo><ul id='WnCoz'></ul>