Following returns empty array, so on my localhost $_SERVER[] doesn't return anything. Why?
Url in browser looks like this: localhost/final/events/2012-10/
$current_url_all = parse_url($_SERVER['PATH_INFO']);
print_r($current_url_all);
What am I doing wrong? How else can I grab that last date piece from url?