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