提交表格后再发送 [英] After submit the form asking resend

查看:71
本文介绍了提交表格后再发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过POST提交表单。我提交表单,一切都很好,但是如果我尝试重新加载表单在提交后转到的新页面,我会收到你想重新发送数据消息(FireFox)。它也可能在其他浏览器中发生,但我不确定。



我尝试过的事情:



<?php

if(isset($ _ POST ['submit_ex']))

{

$ name = $ _POST ['nameex'];

$ email = $ _POST ['emailex'];

$ mobnum = $ _POST ['phoneex'];

$ typehidden = $ _ POST ['current_url'];

$ textmessage = $ _ POST ['messageex'];



$ msg = $ _POST ['msg'];





$ to ='pavan@onemg.co';



//主题

$ subject ='ONEMG专业知识查询';



//消息

$ message ='





< title> ONEMG查询详情





ONEMG Works查询详情

I have a form submission via POST. I submit the form, and all is well, however if I try to reload the new page that the form goes to after submission, I get the "Do you want to resend data" message (FireFox). It might happen in other browsers too, but I'm not sure.

What I have tried:

<?php
if(isset($_POST['submit_ex']))
{
$name = $_POST['nameex'];
$email = $_POST['emailex'];
$mobnum = $_POST['phoneex'];
$typehidden=$_POST['current_url'];
$textmessage =$_POST['messageex'];

$msg = $_POST['msg'];


$to = 'pavan@onemg.co';

// subject
$subject = 'ONEMG Expertise Enquiry';

// message
$message = '


<title>ONEMG Enquiry Details


ONEMG Works Enquiry Details

推荐答案

_POST ['submit_ex']))

{
_POST['submit_ex']))
{


name =


_POST ['nameex'];
_POST['nameex'];


这篇关于提交表格后再发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆