doubianxian6557 2014-10-24 07:59
浏览 28
已采纳

当用户点击链接时,有哪些选项或方法可以将变量传递给另一个URL? [关闭]

I have two ways to do it but I'm still weighing the options.

1st option : Using GET method to retrieve variables from the url.

2nd option : Using GET to retrieve the variables and post it to the url so that variables will be hidden.

<a href="mysurvey_status.php --$variable--"> Status Summary</a>

I need this variable to execute my PHP function to display my table on the other page.

  • 写回答

1条回答 默认 最新

  • dsghpgmay31938863 2014-10-24 08:25
    关注

    The only way to hide you variables is to store them on server side and use session to pass them between scripts.

    POST variables are not hidden at all, there are many ways to reveal them.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大