PHP: Page URL eksi argümanlar alın

0 Cevap php

How do i get the URL of the current page minus all of the get arguments (?blah=2&blah4=90...) I know i can get the full URL with $_SERVER['REQUEST_URI'] but i was wondering if there was something that more fit my needs.

Yoksa ben sadece strpos yapmalıyım? ve substr argümanlar doğrayın? (I $ _SERVER var daha verimli olacağını hayal - eğer varsa)

Teşekkürler

0 Cevap