I want to create an application in PHP implementing virtual directory feature.
Example: http://mydomain.com/user001
will display the contents of the url http://mydomain.com/index.php?user=user001
. How can I do that?
Note:
I am using Apache server.
The traditional way to do it is mod_rewrite.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With