Skip to content

XML-RPC Service for accessing information of internet accounts Rajamangala University of Technology Isan (RMUTI)

Notifications You must be signed in to change notification settings

EKAPHONG/XML-RPC-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML-RPC Service

คุณสมบัติ / ฟังก์ชัน

  • บริการเข้ารหัสข้อมูล
  • บริการถอดรหัสข้อมูล
  • เรียกดูข้อมูลบัญชีผู้ใช้อินเทอร์เน็ต ตาม uid
  • เรียกดูรหัสอ้างอิง Object ID ของบัญชีผู้ใช้อินเทอร์เน็ต ตาม uid
  • เรียกดูข้อมูลบัญชีผู้ใช้อินเทอร์เน็ต ตาม Object ID
  • แปลง Object ให้อยู่ในรูปแบบ Array
  • แปลงรูปแบบเวลาของภาษา Python ให้อยู่ในรูปแบบ date("Y-m-d H:i:s") ของภาษา PHP

Method

  • getEncrypt
  • getDecrypt
  • getUser
  • getOid
  • getUserByOid

คำสั่งเรียกใช้ Class

เพิ่มโค้ดด้านล่างนี้ ไว้ส่วนบนสุดของไฟล์

<?php
// Configuration, please do not edit if you do not understand the system.
use EKAPHONG\XML_RPC;
require_once(__DIR__ . '/class/XML_RPC.php');
require_once(__DIR__ . '/config/config.php');
$xmlrpc = new XML_RPC();
// End of configuration

ก่อนใช้งานจะต้องกำหนดค่าที่ไฟล์ config/config.php

<?php
// Server address
$server = "http://service.eng.rmuti.ac.th/eng-login/xmlrpc/";

// Application ID
$app_id = "app_id";

// Secret Key
$secret = "secret_key";

สถานะ

Function name Description
getEncrypt() Work!
getDecrypt() Work!
getUser() -
getOid() Work!
getUserByOid() Work!

About

XML-RPC Service for accessing information of internet accounts Rajamangala University of Technology Isan (RMUTI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages