Ever wanted to get the right request URI/URL in PHP? This should do the trick