URL과 쿼리스트링 구하기

Submitted by river - 등록 3 years ago - 수정 3 years ago

http://example.com/test?foo=bar

url() // http://example.com
Request::getPathInfo() // /test
Request::url() // http://example.com/test
Request::fullurl() // http://example.com/test?foo=bar
Request::getQueryString() // foo=bar
comments powered by Disqus