run:R W Run
414 By
2026-03-11 16:18:52
R W Run
4.67 KB
2026-03-11 16:18:52
R W Run
1.23 KB
2026-03-11 16:18:52
R W Run
1.65 KB
2026-03-11 16:18:52
R W Run
854 By
2026-03-11 16:18:52
R W Run
5.24 KB
2026-03-11 16:18:52
R W Run
8.21 KB
2026-03-11 16:18:52
R W Run
927 By
2026-03-11 16:18:52
R W Run
6.61 KB
2026-03-11 16:18:52
R W Run
3.7 KB
2026-03-11 16:18:52
R W Run
error_log
📄class-IXR-request.php
1<?php
2
3/**
4 * IXR_Request
5 *
6 * @package IXR
7 * @since 1.5.0
8 */
9class IXR_Request
10{
11 var $method;
12 var $args;
13 var $xml;
14
15 /**
16 * PHP5 constructor.
17 */
18 function __construct($method, $args)
19 {
20 $this->method = $method;
21 $this->args = $args;
22 $this->xml = <<<EOD
23<?xml version="1.0"?>
24<methodCall>
25<methodName>{$this->method}</methodName>
26<params>
27
28EOD;
29 foreach ($this->args as $arg) {
30 $this->xml .= '<param><value>';
31 $v = new IXR_Value($arg);
32 $this->xml .= $v->getXml();
33 $this->xml .= "</value></param>\n";
34 }
35 $this->xml .= '</params></methodCall>';
36 }
37
38 /**
39 * PHP4 constructor.
40 */
41 public function IXR_Request( $method, $args ) {
42 self::__construct( $method, $args );
43 }
44
45 function getLength()
46 {
47 return strlen($this->xml);
48 }
49
50 function getXml()
51 {
52 return $this->xml;
53 }
54}
55
Ui Ux Design – Teachers Night Out

Get in Touch

© 2024 Teachers Night Out. All Rights Reserved.