php snippet to remove chars from a string to be url ready code example Example: php encode url parameters urlencode("query string params");