user directory
Root example.com
|_ user
|___mark
Or
example.com/user.php? name=mark
That means go to user.php
And send data with GET method.
In this URL simply mark data store in name variable and send to the user.php using GET method.
No no... I don't have a directory user inside root directory... I have an user.php file which takes name input as get method like example.com/user.php?name=mark But whenever I try to send get request I have to write the whole parameters user... Cannot I write just a simple regex to do it cleanly like example.com/user/mark ? I want this url to execute as example.com/user.php?name=mark
Обсуждают сегодня