use of uri_unescape

by kalai 2010-01-23 18:41:28

In perl when we post values with special characters it is converted(encoded) into series of ascii characters
Inorder to get the original value we have to use uri_unescape function
$review="vis-a%5Ck%3A%60-vis Beyonce%5Ck%3A%27naieve%5Cnpapier-ma%5Ck%3A%5Eche%5Ck%3A%27re%5Ck%3A%27%7C%5Cn%3Au";
$rev= uri_unescape($review);

Result:
vis-a\k:`-vis Beyonce\k:'naieve\npapier-ma\k:^che\k:'re\k:'|\n:u

Tagged in:

2132
like
0
dislike
0
mail
flag

You must LOGIN to add comments