I want to get the only server name with directory in php.. can someone help me ..?
Heading Here
for example :-
i hava a page which url is
www.demo.com/123/page.php
I want only :- www.demo.com/123/
can some one tell me how can i get the only server name without page name ..
Thanx