XML

    <function name="rpcf_user5_change_password" id="-0x4021">
      <input>
	  <string name="old_password" />
	  <string name="new_password" />
	  <string name="new_password_ret" />
      </input>
      <output>
	  <integer name="result" />
      </output>
    </function>

PHP

	function rpcf_user5_change_password($old_password,$new_password,$new_password_ret) { //-0x4021
		$ret=array();
		if (!$this->connection->urfa_call(-0x4021)) {
			print "Error calling function ". __FUNCTION__ ."\n";
			return FALSE;
		}
		$packet = $this->connection->getPacket();
		$packet->DataSetString($old_password);
		$packet->DataSetString($new_password);
		$packet->DataSetString($new_password_ret);
		$this->connection->urfa_send_param($packet);
		if ($x = $this->connection->urfa_get_data()) {
			$ret['result'] = $x->DataGetInt();
		}
		return $ret;
	}
 
/home/u18456/wiki.flintnet.ru/www/data/pages/function_user5/function_name_rpcf_user5_change_password_id_-0x4021.txt · Последние изменения: 2009/02/18 19:30 (внешнее изменение)
 
За исключением случаев, когда указано иное, содержимое этой вики предоставляется на условиях следующей лицензии:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki