@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Gaetano Giunta |
|
4 | - * @copyright (C) 2005-2015 G. Giunta |
|
5 | - * @license code licensed under the BSD License: see file license.txt |
|
6 | - * |
|
7 | - * Parses GET/POST variables |
|
8 | - * |
|
9 | - * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
10 | - * @todo do some more sanitization of received parameters |
|
11 | - */ |
|
3 | + * @author Gaetano Giunta |
|
4 | + * @copyright (C) 2005-2015 G. Giunta |
|
5 | + * @license code licensed under the BSD License: see file license.txt |
|
6 | + * |
|
7 | + * Parses GET/POST variables |
|
8 | + * |
|
9 | + * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
10 | + * @todo do some more sanitization of received parameters |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | // work around magic quotes |
14 | 14 | if (get_magic_quotes_gpc()) { |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Gaetano Giunta |
|
4 | - * @copyright (C) 2005-2015 G. Giunta |
|
5 | - * @license code licensed under the BSD License: see file license.txt |
|
6 | - * |
|
7 | - * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
8 | - * @todo use ob_start to catch debug info and echo it AFTER method call results? |
|
9 | - * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj |
|
10 | - **/ |
|
3 | + * @author Gaetano Giunta |
|
4 | + * @copyright (C) 2005-2015 G. Giunta |
|
5 | + * @license code licensed under the BSD License: see file license.txt |
|
6 | + * |
|
7 | + * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
8 | + * @todo use ob_start to catch debug info and echo it AFTER method call results? |
|
9 | + * @todo be smarter in creating client stub for proxy/auth cases: only set appropriate property of client obj |
|
10 | + **/ |
|
11 | 11 | |
12 | 12 | header('Content-Type: text/html; charset=utf-8'); |
13 | 13 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Benchmarking suite for the PHP-XMLRPC lib. |
|
4 | - * |
|
5 | - * @author Gaetano Giunta |
|
6 | - * @copyright (c) 2005-2015 G. Giunta |
|
7 | - * @license code licensed under the BSD License: see file license.txt |
|
8 | - * |
|
9 | - * @todo add a test for response ok in call testing |
|
10 | - * @todo add support for --help option to give users the list of supported parameters |
|
11 | - **/ |
|
3 | + * Benchmarking suite for the PHP-XMLRPC lib. |
|
4 | + * |
|
5 | + * @author Gaetano Giunta |
|
6 | + * @copyright (c) 2005-2015 G. Giunta |
|
7 | + * @license code licensed under the BSD License: see file license.txt |
|
8 | + * |
|
9 | + * @todo add a test for response ok in call testing |
|
10 | + * @todo add support for --help option to give users the list of supported parameters |
|
11 | + **/ |
|
12 | 12 | |
13 | 13 | use PhpXmlRpc\PhpXmlRpc; |
14 | 14 | use PhpXmlRpc\Value; |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Demo server for xmlrpc library. |
|
4 | - * |
|
5 | - * Implements a lot of webservices, including a suite of services used for |
|
6 | - * interoperability testing (validator1 methods), and some whose only purpose |
|
7 | - * is to be used for unit-testing the library. |
|
8 | - * |
|
9 | - * Please do not copy this file verbatim into your production server. |
|
10 | - **/ |
|
3 | + * Demo server for xmlrpc library. |
|
4 | + * |
|
5 | + * Implements a lot of webservices, including a suite of services used for |
|
6 | + * interoperability testing (validator1 methods), and some whose only purpose |
|
7 | + * is to be used for unit-testing the library. |
|
8 | + * |
|
9 | + * Please do not copy this file verbatim into your production server. |
|
10 | + **/ |
|
11 | 11 | |
12 | 12 | // give user a chance to see the source for this server instead of running the services |
13 | 13 | if ($_SERVER['REQUEST_METHOD'] != 'POST' && isset($_GET['showSource'])) { |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * XMLRPC server acting as proxy for requests to other servers |
|
4 | - * (useful e.g. for ajax-originated calls that can only connect back to |
|
5 | - * the originating server). |
|
6 | - * |
|
7 | - * @author Gaetano Giunta |
|
8 | - * @copyright (C) 2006-2015 G. Giunta |
|
9 | - * @license code licensed under the BSD License: see file license.txt |
|
10 | - */ |
|
3 | + * XMLRPC server acting as proxy for requests to other servers |
|
4 | + * (useful e.g. for ajax-originated calls that can only connect back to |
|
5 | + * the originating server). |
|
6 | + * |
|
7 | + * @author Gaetano Giunta |
|
8 | + * @copyright (C) 2006-2015 G. Giunta |
|
9 | + * @license code licensed under the BSD License: see file license.txt |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | include_once __DIR__ . "/../../src/Autoloader.php"; |
13 | 13 | PhpXmlRpc\Autoloader::register(); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Gaetano Giunta |
|
4 | - * @copyright (C) 2006-2015 G. Giunta |
|
5 | - * @license code licensed under the BSD License: see file license.txt |
|
6 | - */ |
|
3 | + * @author Gaetano Giunta |
|
4 | + * @copyright (C) 2006-2015 G. Giunta |
|
5 | + * @license code licensed under the BSD License: see file license.txt |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace PhpXmlRpc; |
9 | 9 |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Verify compatibility level of current php install with php-xmlrpc lib. |
|
4 | - * |
|
5 | - * @author Gaetano Giunta |
|
6 | - * @copyright (C) 2006-2015 G. Giunta |
|
7 | - * @license code licensed under the BSD License: see file license.txt |
|
8 | - * |
|
9 | - * @todo add a test for php output buffering? |
|
10 | - */ |
|
3 | + * Verify compatibility level of current php install with php-xmlrpc lib. |
|
4 | + * |
|
5 | + * @author Gaetano Giunta |
|
6 | + * @copyright (C) 2006-2015 G. Giunta |
|
7 | + * @license code licensed under the BSD License: see file license.txt |
|
8 | + * |
|
9 | + * @todo add a test for php output buffering? |
|
10 | + */ |
|
11 | 11 | |
12 | 12 | function phpxmlrpc_verify_compat($mode = 'client') |
13 | 13 | { |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author JoakimLofgren |
|
4 | - */ |
|
3 | + * @author JoakimLofgren |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | use PhpXmlRpc\Helper\Charset; |
7 | 7 |
@@ -141,9 +141,9 @@ |
||
141 | 141 | * @deprecated |
142 | 142 | */ |
143 | 143 | function build_remote_method_wrapper_code($client, $methodName, $xmlrpcFuncName, |
144 | - $mSig, $mDesc = '', $timeout = 0, $protocol = '', $clientCopyMode = 0, $prefix = 'xmlrpc', |
|
145 | - $decodePhpObjects = false, $encodePhpObjects = false, $decodeFault = false, |
|
146 | - $faultResponse = '', $namespace = '\\PhpXmlRpc\\') |
|
144 | + $mSig, $mDesc = '', $timeout = 0, $protocol = '', $clientCopyMode = 0, $prefix = 'xmlrpc', |
|
145 | + $decodePhpObjects = false, $encodePhpObjects = false, $decodeFault = false, |
|
146 | + $faultResponse = '', $namespace = '\\PhpXmlRpc\\') |
|
147 | 147 | { |
148 | 148 | $code = "function $xmlrpcFuncName ("; |
149 | 149 | if ($clientCopyMode < 2) { |