User.page

user::page user class member
contains an array of the following elements. Assuming we are viewing a page at http://www.phpbb.com/about/index.php?cow=moo&cat=meow&mouse=squeak and the phpBB3 installation is located at: http://www.phpbb.com/community Elements of this array can be accessed using the following example. echo $user->page['script_path'];

Example Var Dump
array 'page_name'      =&gt; string 'index.php' (length=9) 'page_dir'       =&gt; string '../about' (length=8) 'query_string'   =&gt; string 'cow=moo&amp;cat=meow&amp;mouse=squeak' (length=29) 'script_path'    =&gt; string '/about/' (length=7) 'root_script_path' =&gt; string '/community/' (length=11) 'page'           =&gt; string '../about/index.php?cow=moo&amp;cat=meow&amp;mouse=squeak' (length=48) 'forum'          =&gt; int 0