php file url rewrite without using mod rewrite
Lets say i have a website which have a php file like
i want the url to look like
I know that we can use mod rewrite but is there any options available better than that??
I came up with something like creating folder named blog in the root directory, and then put a index.php file in that folder and we can call this file by the following url
So here are my questions:
What is the best way to rewrite or creating a fancy url?
What is the security risk involved?
Is there any performance issue to note?
remove the . use absolute path instead