1 a:2:{s:7:"current";a:7:{s:4:"date";a:2:{s:7:"created";i:1272933279;s:8:"modified";i:1272585304;}s:7:"creator";s:0:"";s:5:"title";s:3:"PHP";s:11:"description";a:2:{s:15:"tableofcontents";a:2:{i:0;a:4:{s:3:"hid";s:3:"php";s:5:"title";s:3:"PHP";s:4:"type";s:2:"ul";s:5:"level";i:1;}i:1;a:4:{s:3:"hid";s:31:"how_to_get_the_current_page_url";s:5:"title";s:31:"How to get the current page URL";s:4:"type";s:2:"ul";s:5:"level";i:2;}}s:8:"abstract";s:285:"PHP: wp>PHP
3 How to get the current page URL
7 echo $_SERVER["REQUEST_URI"]; /* /~kssilveira/site/doku.php?id=php */
8 echo $_SERVER["SCRIPT_NAME"]; /* /~kssilveira/site/doku.php */
9 echo substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1) /* doku.php */
10 ?>";}s:8:"relation";a:2:{s:10:"references";a:1:{s:15:"tag:programming";b:0;}s:10:"firstimage";s:0:"";}s:7:"subject";a:1:{i:0;s:11:"programming";}s:8:"internal";a:2:{s:5:"cache";b:1;s:3:"toc";b:1;}}s:10:"persistent";a:2:{s:4:"date";a:1:{s:7:"created";i:1272933279;}s:7:"creator";s:0:"";}}