Söz belirtildiği gibi, ben sayfa adı ve sorgu dizesi olmadan sayfanın url almak istiyorum.
For example my url is:
http://sub.domain.com/app/page.php?var=abc
what I want from this is:
http://sub.domain.com/app/
without the query string and page name.
I found this tutorials:
http://www.phpf1.com/tutorial/get-current-page-url.html
it was helpful but not exactly what I want.
Cevaplar için teşekkürler.