I have a link. Eg. abc.com/qwerty
. I want to extract the part after /
of every input just like examples below and use it just like a PHP GET input value and store it to a variable $page
. Essentially, the link abc.com/qwerty
should work like abc.com/proc.php?x=qwerty
Typed link Part to be used as PHP GET input
abc.com/cvbx cvbx
abc.com/ghvs ghvx
abc.com/pabc pabc
How can I do this?