小编nae*_*lus的帖子

无法使用大量变量重定向 - 标头可能不包含多个标头,检测到新行.在

这是我的代码:

$post_url="Location: http://webservices.plattformpartners.com/ilm/default.ashx?firstname=".$firstname."&lastname=".$lastname."&address=".$address1."&address2=".$address2."&zip=".$zip."&city=".$city."&state=".$state."&country=".$country;

header($post_url);
Run Code Online (Sandbox Code Playgroud)

http://gedforadults.com/ 在这个页面上我正在使用它.

并且我在表单提交后重定向时收到此错误.警告:标题可能不包含多个标题,检测到新行.在第60行的/home/gedforad/public_html/index.php中

那么有没有办法用很多变量重定向它?当我在一个或两个变量中使用它时,它正确地重定向,但在很多变量内它的生成错误.

提前致谢.

php http-headers

5
推荐指数
1
解决办法
5691
查看次数

标签 统计

http-headers ×1

php ×1