Php 使用jQuery将帖子从https页面发送到https页面

Php 使用jQuery将帖子从https页面发送到https页面,php,jquery,https,Php,Jquery,Https,我的脚本一直在工作,但在更新了Chrome之后,它停止了工作 我有一个我的客户可以登录的页面。此页面受ssl保护。 表单由jQuery提交 $.post('pierre_registrar.php', {bean_name: usuario, bean_password: senha, bean_repassword: senha, bean_day: dia, bean_month: mes, bean_year: ano, bean_email: email, inscription: 's

我的脚本一直在工作,但在更新了Chrome之后,它停止了工作

我有一个我的客户可以登录的页面。此页面受ssl保护。 表单由jQuery提交

$.post('pierre_registrar.php', {bean_name: usuario, bean_password: senha, bean_repassword: senha, bean_day: dia, bean_month: mes, bean_year: ano, bean_email: email, inscription: 'sim', tos: tos}, function(resposta) { alert(resposta); }));
pierre_registrator.php将验证表单并发送答复

在javascript控制台中显示: 混合内容:通过HTTPS加载了“”处的页面,但请求了不安全的XMLHttpRequest终结点“”。此内容还应通过HTTPS提供

pierre_registrator.php被chrome阻止


我该怎么办?对不起,我的英语不好。

我不明白为什么从https页面向相对url发送post请求会使用http。你在使用url重写吗?表单和其他javascript是什么样子的?@jeroen我在使用url重写,但不是通过pierre_Registrator.php或任何链接到登录表单的脚本。@jeroen我终于知道了原因。在my core.php上,当不在登录页面中时,会重定向到http。所以我修好了。谢谢jeroen你让我把这些点连起来了哈哈