Author: dr Date: Thu Jan 31 18:17:08 2008 New Revision: 7270 Log: - Fixed typo in Url.
Modified: trunk/Url/docs/tutorial.txt Modified: trunk/Url/docs/tutorial.txt ============================================================================== --- trunk/Url/docs/tutorial.txt [iso-8859-1] (original) +++ trunk/Url/docs/tutorial.txt [iso-8859-1] Thu Jan 31 18:17:08 2008 @@ -373,6 +373,7 @@ For example, if the $_SERVER array has these fields:: + <?php $_SERVER = array( 'HTTPS' => '1', 'HTTP_HOST' => 'www.example.com', @@ -381,10 +382,11 @@ ); $url = ezcUrlTools::getCurrentUrl(); + ?> Then $url will be:: - http://www.example.com/index.php + https://www.example.com/index.php parseQueryString ---------------- @@ -394,8 +396,10 @@ Example:: + <?php $params = ezcUrlTools::parseQueryString( 'openid.nonce=123456&foo[]=bar&foo[]=baz' ); + ?> Then $params will be:: -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components