[Solved] GET request as directory [duplicate]


If you are going to build a social network solution, it is strongly recommended to use an established framework like Laravel, Yii2 etc. Why? Because it has tons of out of the box functionality you can use.

That said, you need to learn how to use routing. Here is one solution. http://blogs.shephertz.com/2014/05/21/how-to-implement-url-routing-in-php/

Here is another routing solution: https://longren.io/basic-routing-in-php-with-altorouter/

You can also consider using javascript framework like vue.js for routing.

2

solved GET request as directory [duplicate]