Generate a phrase to url.

str_replace (PHP 4, PHP 5) str_replace — Replace all occurrences of the search string with the replacement string $vowels = array(“a”, “e”, “i”, “o”, “u”, “A”, “E”, “I”, “O”, “U”); $onlyconsonants = str_replace($vowels, “”, “Hello World of PHP”);