问:因为这是一个公共论坛,所以我将实际域更改为域。该站点现在位于另一台服务器上。操作后更改URL不起作用,我正在拔头发。感谢您的帮助。
展开| 选择| 包装| 行号
<form name =“ form” method =“ POST” action =“ http://example.org/fx/cfx.php” onsubmit ='document.form.mstrPage.value = document.location.href;'>
<input type =“ hidden” name =“重定向” value =“ http://example.org/autoreply/index.html”>
<input type =“ hidden” name =“ mstrPage” />
<input type =“ hidden” name =“ subject” value =“联系表单。” />
<input type =“ hidden” name =“ require” value =“ Name,EMail_Address,comments,phone” />
<input type =“ hidden” name =“ security_check” value =“ <?php echo $ enc_code?>” />
答:只要使您的相对路径不是绝对路径...
请记住这一点:::绝对不要
在您的代码页中使用绝对路径,因为您曾经使用过两次绝对路径,只需将其更改为该相对路径即可。路径……
您的代码action =“ http://example.org/fx/cfx.php”
更改为此
操作=“ cfx.php”
您的代码value =“ http://example.org/autoreply /index.html“
更改为该
值=” index.html“