Hi,
I have been looking for some days a script that:
when I white:
http://www.mydomain.com/word1-word2-word3/
will show me a page that contain in body those 3 random words written.
I was said that I can use something like:
http://www.mydomain.com/index.php/word1-word2-word3/
(notice index.php in url with the code: )
list($text, $string_words) = explode('/', $PATH_INFO);
$array_words = explode('-',$string_words);
echo "$array_words[0] $array_words[1] $array_words[2]";
It works but I would like any other way to avoid that "index.php" and use only http://www.mydomain.com/word1-word2-word3/
Anyone could give me any tips? or where to get such script? thanks