Kohana 3 - Get URLs
Posted
by booze2go
on Stack Overflow
See other posts from Stack Overflow
or by booze2go
Published on 2010-05-16T12:23:34Z
Indexed on
2010/05/16
12:50 UTC
Read the original article
Hit count: 219
Hi Guys,
could you help me with following questions. How do i get the:
absolute/relative current url
- http://www.example.com/subdir/controller/action
- /subdir/controller/action
absolute/relative application url
- http://www.example.com/subdir/
- /subdir/
I could of course use native php to get it but i think i should rather use ko3 functions.
Any idea how that works?
Thanks in advance!
© Stack Overflow or respective owner