douhuxi4145 2014-12-01 09:33
浏览 81

传递和保护$ _GET []变量从一个服务器到另一个服务器

I want to pass some variable to the URL using PHP $_GET['']; for example:

I have a form on a landing page with five input fields: Name, Surname, Email, Confirm-Email, Phone I pick these variables up now I want to add these to a Base URL so that they can be picked up by another web page.

My question is how safe is this and what is the best method to protect these variables or perhaps make them invisible under the new url...?

I could use php curl() or sockets but the server where I want to send the data to does not allow me to so thats why I want to use $_GET['']'

  • 写回答

4条回答 默认 最新

  • dongliyan7318 2014-12-01 09:41
    关注

    You should not use $_GET if you want to make your data secure.

    There is no option using which you can make $_GET secure or invisible.

    You should use $_POST for sending data to other url if you do not want to make your data visible and secure.

    Even your data is not stored by browser when you use post method and it is more difficult to hack.

    评论

报告相同问题?

悬赏问题

  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)