A link <a href="index.php/use1"> causes 'index.php/use1' to be appended to the
full url [http://localhost/~donn/template-dev/routertest/] and at first, it's
fine but after a few clicks, it keeps appending. Amazingly things still work,
but the URL is out of control!
Links that don't start with a / are taken to be relative to the current
documents path. You (probably) want this:
<a href="/~donn/blah/index.php/use1">
The forward slash at the start causes your browser to ignore whatever
your current path is, albeit remain on the current domain.
--
Richard Heyes
Employ me:
http://www.phpguru.org/cv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php