How to convert (decode) this url string to the actual word using PHP? -
what php function use convert this
%25ce%2592%25ce%2595%25ce%259d%25ce%2596%25ce%2599%25ce%259d%25ce%2597
to actual string using php?
the actual string written in greek characters , "ΒΕΝΖΙΝΗ"
your string encoded 2 times.
you can decode rawurldecode
:
$str = rawurldecode('%25ce%2592%25ce%2595%25ce%259d%25ce%2596%25ce%2599%25ce%259d%25ce%2597'); // $str = "%ce%92%ce%95%ce%9d%ce%96%ce%99%ce%9d%ce%97" $str = rawurldecode($str); // $str = "ΒΕΝΖΙΝΗ"
Comments
Post a Comment