问题描述
大家好吧
我的表单在提交时发布到第三方网站..现在我想在将值发布到第三方网站之前将文本框值存储在我的数据库中..
提前感谢
hi everybody
my form is posted to an 3rd party site on submit.. Now i want to store the textbox values in my database before posting the values to the 3rd party site..
thanks in advance
推荐答案
你好jeevik,
我不认为这是''可以在一个表单上执行两个操作。
也许您可以将数据发送到您站点上的页面,将信息读入您的数据库(使用所有的uesual securoity检查)然后通过另一个隐藏的表单将数据转发给第三方。
我认为第二种形式必须以某种方式提交。
不幸的是,你会想出某种''软糖'作为一个来自一个动作。
干杯
nathj
Hi jeevik,
I don''t think it''s possible to have two actions on one form.
Perhaps you couldpost the data to a page on your site, read the information in to your database (with all the uesual securoity checks) then forward the data on to the 3rd party via another, hidden form.
I think the second form would have to submit itself somehow.
Unfortunatley you are going to have come up with some sort of ''fudge'' as one from = one actions.
Cheers
nathj
这篇关于单个表单提交的两个操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!