SyntaxFix
Write A Post
Hire A Developer
Questions
Here is something i just put together.
if ( urlencode(urldecode($data)) === $data){ echo 'string urlencoded'; } else { echo 'string is NOT urlencoded'; }