• <bdo id='pYzUa'></bdo><ul id='pYzUa'></ul>

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

    1. <i id='pYzUa'><tr id='pYzUa'><dt id='pYzUa'><q id='pYzUa'><span id='pYzUa'><b id='pYzUa'><form id='pYzUa'><ins id='pYzUa'></ins><ul id='pYzUa'></ul><sub id='pYzUa'></sub></form><legend id='pYzUa'></legend><bdo id='pYzUa'><pre id='pYzUa'><center id='pYzUa'></center></pre></bdo></b><th id='pYzUa'></th></span></q></dt></tr></i><div id='pYzUa'><tfoot id='pYzUa'></tfoot><dl id='pYzUa'><fieldset id='pYzUa'></fieldset></dl></div>

    2. <tfoot id='pYzUa'></tfoot>

      <legend id='pYzUa'><style id='pYzUa'><dir id='pYzUa'><q id='pYzUa'></q></dir></style></legend>

        用php强制下载文件

        forcing a file download with php(用php强制下载文件)
        • <bdo id='pxreV'></bdo><ul id='pxreV'></ul>
          <i id='pxreV'><tr id='pxreV'><dt id='pxreV'><q id='pxreV'><span id='pxreV'><b id='pxreV'><form id='pxreV'><ins id='pxreV'></ins><ul id='pxreV'></ul><sub id='pxreV'></sub></form><legend id='pxreV'></legend><bdo id='pxreV'><pre id='pxreV'><center id='pxreV'></center></pre></bdo></b><th id='pxreV'></th></span></q></dt></tr></i><div id='pxreV'><tfoot id='pxreV'></tfoot><dl id='pxreV'><fieldset id='pxreV'></fieldset></dl></div>

              <tbody id='pxreV'></tbody>

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

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

                  本文介绍了用php强制下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我知道如何进行下载,当下载发生时,它会从导致下载的网页中附加 html.如何过滤掉 HTML?

                  I know how to make the download occur, when the download happens it appends the html from the web page that causes the download. How do I filter out the HTML?

                  推荐答案

                  我了解到您正在尝试从 PHP 页面输出一些流以供下载?

                  I understand that you're trying to output some stream for download from PHP page?

                  如果是这样,那么不要从包含 HTML 的页面输出该内容,而是重定向到单独的 php 页面,该页面仅输出下载流,如有必要,带有标题.

                  If so, then don't output that content from the page that contains HTML, but redirect to separate php page that outputs only the download stream, with headers if necessary.

                  这篇关于用php强制下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Is PHP or PHP based web framework stateful or stateless?(PHP 或基于 PHP 的 Web 框架是有状态的还是无状态的?)
                  How to parse django style template tags(如何解析 django 样式模板标签)
                  What is a good setup for editing PHP in Emacs?(在 Emacs 中编辑 PHP 的好设置是什么?)
                  How to check whether specified PID is currently running without invoking ps from PHP?(如何在不从 PHP 调用 ps 的情况下检查指定的 PID 当前是否正在运行?)
                  What#39;s the difference between escapeshellarg and escapeshellcmd?(escapeshellarg 和escapeshellcmd 有什么区别?)
                  php in background exec() function(php 后台 exec() 函数)

                      <tfoot id='97yyg'></tfoot>
                        <tbody id='97yyg'></tbody>
                    • <small id='97yyg'></small><noframes id='97yyg'>

                      <i id='97yyg'><tr id='97yyg'><dt id='97yyg'><q id='97yyg'><span id='97yyg'><b id='97yyg'><form id='97yyg'><ins id='97yyg'></ins><ul id='97yyg'></ul><sub id='97yyg'></sub></form><legend id='97yyg'></legend><bdo id='97yyg'><pre id='97yyg'><center id='97yyg'></center></pre></bdo></b><th id='97yyg'></th></span></q></dt></tr></i><div id='97yyg'><tfoot id='97yyg'></tfoot><dl id='97yyg'><fieldset id='97yyg'></fieldset></dl></div>
                      <legend id='97yyg'><style id='97yyg'><dir id='97yyg'><q id='97yyg'></q></dir></style></legend>

                          • <bdo id='97yyg'></bdo><ul id='97yyg'></ul>