I passed email to my URL like that:
http://www.mysite.com?email=external%2Bcustomer%40gmail.com
however when print $_REQUEST it gives me following output:
external^customer%40gmail.com /* console output */
I want output like that:
external%2Bcustomer%40gmail.com
please help me on this
If you want output exact as it is passed in URL, try this:
print_r(urlencode($_REQUEST['email']));
$_REQUEST is automatically decoded, so you need to encode it again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With