PHP sending encrypted data via the URL

后端 未结 4 1123
余生分开走
余生分开走 2021-01-04 18:35

I\'m trying to send encrypted data over the url to another site (using file_get_contents(\"anotherUrl.php?hash=$encryptedString\"). The problem is, sometimes, t

4条回答
  •  隐瞒了意图╮
    2021-01-04 19:14

    Take a look at this thread:

    Passing base64 encoded strings in URL

    Essentially you DO want to urlencode() before sending the string, however you do NOT want to urldecode() at the other end.

提交回复
热议问题