users.get_me Test Start

setCredentials("USERNAME","API KEY"); $Client->setDebug($newdebuglevel); $Client->setSSLVerifyPeer(false); $Client->setSSLVerifyHost(false); $Client->return_type = "phpvals"; //forces return of page.get_one as php values $SiteName = "SITENAME"; ////////////test code ////////////code doesn't include error checking //common example start $siteobj = new WikidotSite($SiteName, $Client); $returnarray = array(); echo "

users.get_me example



"; $siteobj->php_users_get_me($returnarray); foreach($returnarray as $key=>$data){ echo $key.": ".$data."
";} ?>