How Do I find the name of the page title from $_SERVER['php_self']?
Let’s say the $_SERVER shows my page like this: /application/mysite/signup.php. How can I select the page title signup ?
How Do I find the name of the page title from $_SERVER[‘php_self’] ? Let’s
Share
You can use
basename:or
pathinfo: