<tfoot id='xyd9T'></tfoot>
  • <small id='xyd9T'></small><noframes id='xyd9T'>

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

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

        Laravel 中的位置标头

        Location headers in Laravel(Laravel 中的位置标头)
      2. <i id='l3ZkX'><tr id='l3ZkX'><dt id='l3ZkX'><q id='l3ZkX'><span id='l3ZkX'><b id='l3ZkX'><form id='l3ZkX'><ins id='l3ZkX'></ins><ul id='l3ZkX'></ul><sub id='l3ZkX'></sub></form><legend id='l3ZkX'></legend><bdo id='l3ZkX'><pre id='l3ZkX'><center id='l3ZkX'></center></pre></bdo></b><th id='l3ZkX'></th></span></q></dt></tr></i><div id='l3ZkX'><tfoot id='l3ZkX'></tfoot><dl id='l3ZkX'><fieldset id='l3ZkX'></fieldset></dl></div>

            <bdo id='l3ZkX'></bdo><ul id='l3ZkX'></ul>
          • <tfoot id='l3ZkX'></tfoot>

            1. <legend id='l3ZkX'><style id='l3ZkX'><dir id='l3ZkX'><q id='l3ZkX'></q></dir></style></legend>

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

                  <tbody id='l3ZkX'></tbody>

                  本文介绍了Laravel 中的位置标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在为我大学的身份验证系统 (Ucam_Webauth) 使用图书馆,这意味着我必须通过其中一种方法重定向到身份验证服务器.不幸的是,由于该库的体系结构,我无法返回 Redirect:to().该库本身使用 header('Location: ...'); 但这由于某种原因不起作用.

                  I'm working with a Library for my university's authentication system (Ucam_Webauth) which means I have to redirect to the authentication server in one of the methods. Unfortunately, I cannot return a Redirect:to() because of the architecture of this library. The library itself uses header('Location: ...'); but this isn't working for some reason.

                  如果我在发送标头后使程序 die(); 可以工作,否则就不行.

                  If I make the programme die(); after sending the header it works, but otherwise it doesn't.

                  知道如何解决这个问题吗?

                  Any idea how I can fix this?

                  推荐答案

                  return redirect()->to('url')->send();
                  

                  发送 HTTP 标头和内容.在我的应用程序中,send() 方法的作用类似于 'exit()' 并且是可测试的

                  Sends HTTP headers and content. In my application, send() method acts like 'exit()' and is testable

                  这篇关于Laravel 中的位置标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 的问题)
                1. <tfoot id='ustX0'></tfoot>
                    <tbody id='ustX0'></tbody>
                  <legend id='ustX0'><style id='ustX0'><dir id='ustX0'><q id='ustX0'></q></dir></style></legend>

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

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

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