Last active
May 19, 2022 11:08
-
-
Save cp-sumi-k/92c1e1d2b5093408b89391ba3539e741 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/php-useful-encoding-and-decoding-functions-you-need-to-know-210e523a065f - urlencode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo urlencode("https://canopas.com?data=test"); | |
# output : https%3A%2F%2Fcanopas.com%3Fdata%3Dtest | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment