fixes #90 by using PHP_SELF instead of REQUEST_URI