1. <legend id='dINAq'><style id='dINAq'><dir id='dINAq'><q id='dINAq'></q></dir></style></legend>
      <bdo id='dINAq'></bdo><ul id='dINAq'></ul>
  2. <tfoot id='dINAq'></tfoot>

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

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

      使用 PHP 将 $_FILES 或 $_POST 传递到新页面

      Passing $_FILES or $_POST to a new page with PHP(使用 PHP 将 $_FILES 或 $_POST 传递到新页面)

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

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

                <bdo id='YUmF5'></bdo><ul id='YUmF5'></ul>
                  <tbody id='YUmF5'></tbody>

                本文介绍了使用 PHP 将 $_FILES 或 $_POST 传递到新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我目前正在为客户构建现有脚本的新部分.目前,在用户填写一些帐户创建信息后,他们会被定向到一个页面,他们可以在该页面上上传文件并发送文件,有点像文件共享网络.发送/创建的 $_POST 变量的传递不是问题,我想做的是允许他们创建一个帐户并从一个表单上传文件.所以这个过程将是

                I am currently building a new part of an existing script for a client. Currently after a users fills in some account creation info they are directed to a page where they can upload a file and send it, sort of like a file sharing network. The passing of the $_POST variables that are sent / created isn't the issue, what I am trying to do is allow them to create an account and upload a file all from one form. So the process will be

                填写表格去createaccount.php创建账号,获取新账号ID附加到原始帖子中的其他信息发送到上传页面自动上传文件然后到他们的主页

                fill in form goes to createaccount.php create account, get new accountID attach to other info from original post send to the upload page to upload file automatically then to their home page

                主要问题是如何传递他们最初上传的 $_FILE 以及所有这些?我需要传递它,所以我不必重写上传脚本.

                The main question is how can I pass the $_FILE that they originally uploaded along with all of this? I need to pass it along so I don't have to rewrite the uploading script.

                有什么建议吗?

                谢谢

                推荐答案

                放到会话变量中...

                $_SESSION['file']=$_FILE['....']
                

                阅读本文这也是..

                这篇关于使用 PHP 将 $_FILES 或 $_POST 传递到新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                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 的问题)

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

                        <small id='7VShN'></small><noframes id='7VShN'>

                      2. <legend id='7VShN'><style id='7VShN'><dir id='7VShN'><q id='7VShN'></q></dir></style></legend>