Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get domain from url cakephp

Router::url('/', true) . 'img/example.png' (cakephp 2)
  
// localhost/domain/event/detail
$current_url = $this->request->here();
// => /domain/event/detail
 
PREVIOUS NEXT
Tagged: #domain #url #cakephp
ADD COMMENT
Topic
Name
7+2 =