In my php script I have additional variables I don't want visible to the user to be sent in a _post from a to another php script. How do I do that?
在我的PHP脚本中,我有其他变量,我不希望用户将其从_post发送到另一个PHP脚本。我怎么做?
2 个解决方案
#2
2
- use sessions (pros: does not need to be reposted, stays in php between scripts)
- 使用会话(优点:不需要重新发布,在脚本之间保留在php中)
- use input hidden html fields
- 使用输入隐藏的html字段
#1
#2
2
- use sessions (pros: does not need to be reposted, stays in php between scripts)
- 使用会话(优点:不需要重新发布,在脚本之间保留在php中)
- use input hidden html fields
- 使用输入隐藏的html字段