I am using PATH_INFO to serve a page (front controller), however making links is a slight issue, as the URL is rather appending to the current URL than redirecting directly, So I end up having something like this in the URL:
http://localhost/routing/index.php/user/index.php/user/index.php/user/index.php
echo '<a href="index.php">Home</a> ';
echo '<a href="index.php/user/123">User 123</a>';
How should I solve this, an absolute url?