1<?php
2// NOTE: do not run this directly under a web server, as it will take a very long
3// time to execute.  Run from a command line or something, and redirect output
4// to an html file.
5//
6// +----------------------------------------------------------------------+
7// | PHP Version 4                                                        |
8// +----------------------------------------------------------------------+
9// | Copyright (c) 1997-2018 The PHP Group                                |
10// +----------------------------------------------------------------------+
11// | This source file is subject to version 2.02 of the PHP license,      |
12// | that is bundled with this package in the file LICENSE, and is        |
13// | available through the world-wide-web at                              |
14// | http://www.php.net/license/2_02.txt.                                 |
15// | If you did not receive a copy of the PHP license and are unable to   |
16// | obtain it through the world-wide-web, please send a note to          |
17// | license@php.net so we can mail you a copy immediately.               |
18// +----------------------------------------------------------------------+
19// | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
20// +----------------------------------------------------------------------+
21
22require_once 'client_round2_interop.php';
23?>
24<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
25
26<html>
27<head>
28<style>
29TD { background-color: Red; }
30TD.BLANK { background-color: White; }
31TD.OK { background-color: Lime; }
32TD.RESULT { background-color: Green; }
33TD.untested { background-color: White; }
34TD.CONNECT { background-color: Yellow; }
35TD.TRANSPORT { background-color: Yellow; }
36TD.WSDL { background-color: Yellow; }
37TD.WSDLCACHE { background-color: Yellow; }
38TD.WSDLPARSER { background-color: Yellow; }
39TD.HTTP { background-color: Yellow; }
40TD.SMTP { background-color: Yellow; }
41</style>
42  <title>PHP SOAP Client Interop Test Results</title>
43</head>
44
45<body bgcolor="White" text="Black">
46<h2 align="center">PHP SOAP Client Interop Test Results: Round2</h2>
47
48<a href="index.php">Back to Interop Index</a><br>
49<p>&nbsp;</p>
50
51<?php
52$iop = new Interop_Client();
53
54if ($_GET['detail'] == 1) $iop->showFaults = 1;
55
56if ($_GET['wire']) {
57    $iop->showWire($_GET['wire']);
58} else {
59    $iop->getEndpoints();
60    $iop->getResults();
61
62    if ($_GET['test']) {
63        $iop->currentTest = $_GET['test'];
64        $iop->useWSDL = $_GET['wsdl']?$_GET['wsdl']:0;
65        $iop->paramType = $_GET['type']?$_GET['type']:'php';
66        $iop->outputTable();
67    } else {
68        $iop->outputTables();
69    }
70}
71?>
72</body>
73</html>
74