Meta Refresh不传递PHP变量? [英] Meta Refresh does not pass on PHP variable?

查看:57
本文介绍了Meta Refresh不传递PHP变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用$ _GET方法获取元重定向以将php变量传递到重定向页面。


我有mypage.php用户= created& username = $ name& comment = $ co mment etc


,但只有第一个''user = created''似乎被传递。


所有其他内容,如username = $ name来自使用此元刷新的脚本,位于底部。

脚本使用会话,但它从不发送其他变量。

不是原始的或简单的测试变量。


变量确实在脚本中回显,所以它必须是停止的元刷新这是一个常见的问题,或者我能以某种方式解决这个问题吗?

I''m trying to get a meta redirect to pass on a php variable to the redirected page, using the $_GET method.

I have the mypage.php?user=created&username=$name&comment=$co mment etc

, but ONLY the first ''user=created'' seems to be passed on.

All the other in line, like the username=$name comes from a script where this meta refresh is used, at the bottom.
The script uses sessions, but it never sends the other variables.
Not the original or simple test variables.

The variables does echo during the script, so it must be the meta refresh that are stopping them.

Is this a common problem, or can I fix this somehow?

推荐答案

_GET方法。


我有mypage.php?user = created& username =
_GET method.

I have the mypage.php?user=created&username=


name& comment =
name&comment=


co mment等等


,但是ON LY第一个''user = created''似乎已被传递。


所有其他内容,如用户名=
co mment etc

, but ONLY the first ''user=created'' seems to be passed on.

All the other in line, like the username=


这篇关于Meta Refresh不传递PHP变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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