@@ -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,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Used to serve back the server-side code coverage results to phpunit-selenium |
|
4 | - * |
|
5 | - * @copyright (C) 2007-2015 G. Giunta |
|
6 | - * @license code licensed under the BSD License: see file license.txt |
|
7 | - **/ |
|
3 | + * Used to serve back the server-side code coverage results to phpunit-selenium |
|
4 | + * |
|
5 | + * @copyright (C) 2007-2015 G. Giunta |
|
6 | + * @license code licensed under the BSD License: see file license.txt |
|
7 | + **/ |
|
8 | 8 | |
9 | 9 | $coverageFile = realpath(__DIR__ . "/../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/phpunit_coverage.php"); |
10 | 10 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * NB: do not let your IDE fool you. The correct encoding for this file is NOT UTF8. |
|
4 | - */ |
|
3 | + * NB: do not let your IDE fool you. The correct encoding for this file is NOT UTF8. |
|
4 | + */ |
|
5 | 5 | include_once __DIR__ . '/../lib/xmlrpc.inc'; |
6 | 6 | include_once __DIR__ . '/../lib/xmlrpcs.inc'; |
7 | 7 |
@@ -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,16 +1,16 @@ |
||
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 add links to documentation from every option caption |
|
8 | - * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
9 | - * @todo add a little bit more CSS formatting: we broke IE box model getting a width > 100%... |
|
10 | - * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding |
|
11 | - * @todo parse content of payload textarea to be fed to visual editor |
|
12 | - * @todo add http no-cache headers |
|
13 | - **/ |
|
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 add links to documentation from every option caption |
|
8 | + * @todo switch params for http compression from 0,1,2 to values to be used directly |
|
9 | + * @todo add a little bit more CSS formatting: we broke IE box model getting a width > 100%... |
|
10 | + * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding |
|
11 | + * @todo parse content of payload textarea to be fed to visual editor |
|
12 | + * @todo add http no-cache headers |
|
13 | + **/ |
|
14 | 14 | |
15 | 15 | // make sure we set the correct charset type for output, so that we can display all characters |
16 | 16 | header('Content-Type: text/html; charset=utf-8'); |
@@ -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 | { |