Skip to content

TopLevel confirmUserXml.php

James Cobban edited this page May 24, 2021 · 2 revisions

Up: Top Level Implementation

Source Code

This script provides the ability for a dynamic script to update an instance of class User from "pending" status to "blog,edit" authorization. This script is invoked by method='post' if the user makes changes to the account settings.

When invoked by method='post' it supports the following parameters:

parameter description
'clientid' the user name identifying the account to be updated.

This script is only invoked by an administrator from the script Users.php.

It outputs a response such as:

<confirmed>
  <parms>
    <clientid>something</clientid>
  </parms>
  <id>216</id>
  <cmd>
    UPDATE Users SET `auth`='blog,edit' WHERE username='something'
  </cmd>
</confirmed>

The tag with name 'id' represents the internal record number of the instance of class User which can be used to manipulate the HTML document.

Next: UserInfo.js

Clone this wiki locally