我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用POST方法重定向到页面[重复]

This question already has an answer here:

  • PHP - Redirect and send data via POST 14 answers

Like what header("Location http://url.to/"); does, I want to make a redirection but with POST method. I know that cURL can handle sending data by POST/GET method but I'm not sure about redirection.

Helps are appreciated.

</div>
header("HTTP/1.1 307 Temporary Redirect");
header("Location: http://www.***.co.uk/site/index.php");

That will re-direct POST data, see my previous answer here: https://security.stackexchange.com/questions/39564/how-do-i-capture-post-data-then-forward-user-to-another-page/39568#39568

近期文章

  • Php从数组创建适当的String
  • 使用BigCommerce创建Webhook
  • LEFT JOIN具有特定条件
  • 获取单个客户端数据 - Laravel
  • ajax在php中调用并验证电子邮件
  • Symfony形式和循环与学说[关闭]
  • 删除“function(){...}”周围的双引号
  • 从WordPress功能中剥离标签
  • Wordpress排队风格不起作用
  • 将字符串拆分为关联数组[重复]
  • Laravel模态仅加载最后一个条目
  • wordpress nginx重写为wp-admin
  • 乱码的PHP代码需要一些修复
  • 如何正确解析API响应
  • 使用当前内容PHP + MySQL进行更新
  • php进程数组通过html格式发送
  • 没有SQL的简单PHP购物车
  • 用于显示图像的PHP脚本很慢
  • 基于int的自定义字段排序
  • 编辑php recordSet输出的显示

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华