Posted By

S_Park on 08/20/11


Tagged


Versions (?)

Expression Engine URL Segments via PHP


 / Published in: PHP
 

URL: http://expressionengine.com/user_guide/templates/globals/url_segments.html

  1. <?
  2. $this->EE =& get_instance();
  3. $seg1 = $this->EE->uri->segment(1);
  4. $seg2 = $this->EE->uri->segment(2);
  5. ?>

Report this snippet  

You need to login to post a comment.