check if content-type is url encoded php code example Example: php encode url parameters urlencode("query string params");