This is the url of my script: localhost/do/index.php
I want a variable or a function that returns localhost/do
(something like $_SERVER['SERVER_NAME'].'/do'
)
This is the url of my script: localhost/do/index.php
I want a variable or a function that returns localhost/do
(something like $_SERVER['SERVER_NAME'].'/do'
)