首页 \ 问答 \ php:重新发布参数(php : repost the parameters)

php:重新发布参数(php : repost the parameters)

有没有办法在PHP中重新发布所有$ _POST变量而不必创建隐藏的字段?

page1.php具有许多表单元素的形式并将它们发布到page2.php

page2.php可以重新发布到page3.php,而无需重新创建所有隐藏的字段


Is there a way in PHP to repost all the $_POST variables without having to create hidden fields ?

page1.php has form with many form elements and post them to page2.php

page2.php reposts to page3.php without having to recreate all hidden fields


原文:https://stackoverflow.com/questions/5645998
更新时间:2021-09-25 10:09

最满意答案

你不能这样做吗?

dif = p2 - p1;

From: Boost - uBLAS文档 - Vector Substraction

编辑:或 - 与点,没有载体:

template<typename Point1, typename Point2>
void subtract_point(Point1 & p1, Point2 const & p2)

来自: Boost - Point Subsctraction


Can't you just do :

dif = p2 - p1;

From : Boost - uBLAS documentation - Vector Substraction

EDIT : Or - with points, no vectors:

template<typename Point1, typename Point2>
void subtract_point(Point1 & p1, Point2 const & p2)

From : Boost - Point Subsctraction

相关问答

更多
  • 多边形概念的默认模型只是多边形的矢量 。 所以,你可以使用push_back , emplace_back , insert等。分配也可能很有趣。 你甚至可以使用transform(..,..,..,back_inserter(polygons)) 。 有创意:) 住在科利鲁 #include #include #include
  • 您正在尝试计算文献中所谓的相对邻域图 。 由两点确定的lune必须为空。 关于这个主题有很多文献。 你可以从维基百科的文章开始。 正如用户tmyklebu所说,它是Delaunay三角测量的一个子集。 更正 。 正如阿西里亲切地解释的那样,我误解了这些条件。 相关图是Gabriel图 ,它也有相当多的文献: You are trying to compute what is known as the relative neighborhood graph in the literature. The lun ...
  • 你的代码是一个尝试使用R作为宏语言的例子。 更好的是学习如何正确使用R向量。 由于您使用了for -loop,因此您应该预先分配sens和spci并将其指定为sens和spci作为索引向量。 (所以我赞同你对结果向量的要求,因为这是一种合理的方法。)然后给出向量名称,而不是乱丢你的工作空间,使大量的单独的,断开连接的命名对象。 试试这个: cuts <- seq(from=3, to=36, by=1) sens <- numeric(length(cuts)); spci=numeric(length(c ...
  • 正如您在评论中提到的那样, ST_Area可用于计算几何图形的面积。 现在我们来看看Oracle sdo_area函数的文档 。 如果已经在PostGIS中存储了几何对象,则可以使用该值,否则,需要将Oracle几何对象转换为PostGIS几何对象。 由于几何对象是以二进制格式存储的,因此您需要使用Oracle Get_WKT来获取几何对象的众所周知的文本表示。 As you mentioned in the comment, ST_Area may use to calculate the area of ...
  • (x2 - x1, y2 - y1) 如果你需要单位方向矢量,用sqrt((x2 - x1)2 +(y2 - y1)2)除每个分量。 (x2 - x1, y2 - y1) If you want the unit direction vector, divide each component by sqrt((x2 - x1)² + (y2 - y1)²).
  • 使用与您已编写的函数相同的函数调用, STArea() 。 在您的示例中,您不计算文本变量的区域,您首先将文本转换为几何,然后计算它的区域(您的变量是GEOMETRY类型!)。 IF OBJECT_ID('tempdb..#GeometricData') IS NOT NULL DROP TABLE #GeometricData CREATE TABLE #GeometricData (GeometricColumn GEOMETRY) INSERT INTO #GeometricData ( ...
  • 您可以仅从第二个向量生成std::set以获得对数查找复杂度,然后遍历第一个向量,如果在集合中找不到该元素,则推送到结果向量: #include #include #include #include #include int main() { std::vector a = {'G', 'K', 'A', 'L', 'P'}; std::vector b = {'K', ...
  • 你不能这样做吗? dif = p2 - p1; From: Boost - uBLAS文档 - Vector Substraction 编辑:或 - 与点,没有载体: template void subtract_point(Point1 & p1, Point2 const & p2) 来自: Boost - Point Subsctraction Can't you just do : dif = p2 - p1; From : ...
  • 我认为1 / sqrt(2)= 0.7071 ......是对的。 看到图片: 编辑: var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-1, 3, 3, 0], keepaspectratio: true, axis: true }); var f1 = function(x) { return x; }; board.create('functiongraph', [f1]); boa ...
  • normal的值未定义 。 在每次调用EmitVertex之前,您必须写入所有几何着色器输出。 GS不像立即模式渲染那样工作。 The value of normal is undefined. You have to write to all of the geometry shader outputs before each call to EmitVertex. GS's don't work like immediate mode rendering.

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)