Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次のように自分のURLにメールを渡しました:
http://www.mysite.com?email=external%2Bcustomer%40gmail.com
ただし、印刷$_REQUESTすると次の出力が得られます。
$_REQUEST
external^customer%40gmail.com /* console output */
私はそのような出力が欲しいです:
external%2Bcustomer%40gmail.com
これで私を助けてください
URL で渡されたとおりの出力が必要な場合は、これを試してください。
print_r(urlencode($_REQUEST['email']));
$_REQUEST自動的にデコードされるため、再度エンコードする必要があります。