dqpwdai095465 2019-05-19 03:53 采纳率: 100%
浏览 45

当连接到cloudflare时,PHP mail.php操作会打开一个新选项卡

I have a website that I have to move it's nameservers to cloudflare for some optimizations. All went well. Except for this one weird issue, when I press submit on a form it opens a new tab with the URL of https://my-website/mail.php instead of sending the the form in the background.

I do not have much experience with PHP, what might be wrong here?

my form's opening tag is as follows:

<form id="contact-form" method="post" enctype="multipart/form-data" action="mail.php" target="hidden_iframe" >
  • 写回答

0条回答 默认 最新

    报告相同问题?