php get string ready for get code example Example: php encode url parameters urlencode("query string params");