Searched refs:server (Results 1 - 25 of 40) sorted by relevance

12

/PHP_TRUNK/ext/soap/interop/
H A Dserver_round2_base.php102 $server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/interop.wsdl.php"); variable
103 $server->setClass("SOAP_Interop_Base");
104 $server->handle();
H A Dserver_round2_groupB.php55 $server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/interopB.wsdl.php"); variable
56 $server->setClass("SOAP_Interop_GroupB");
57 $server->handle();
H A Dserver_round2_groupC.php40 $server = new SoapServer((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/echoheadersvc.wsdl.php"); variable
41 $server->setClass("SOAP_Interop_GroupC");
42 $server->handle();
H A Dindex.php9 $server = $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT']; variable
10 $base = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/interop.wsdl.php";
11 $groupb = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/interopB.wsdl.php";
12 $groupc = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/echoheadersvc.wsdl.php";
38 Client against a chosen interop server. Each run updates the results database below.</p>
45 testing that endpoint. This reduces the time it takes to run the tests if a server is unavailable.</p>
/PHP_TRUNK/ext/standard/tests/http/
H A Dserver.inc10 /* Minimal HTTP server with predefined responses.
20 $server = stream_socket_server($socket_string, $errno, $errstr);
21 if (!$server) {
41 $sock = stream_socket_accept($server);
/PHP_TRUNK/ext/standard/tests/mail/
H A Dmail_skipif.inc5 // be sure mail server is accessible... on PHP 5.3.13 release build, using test-pack PHP-5.3-r1af8b3f,
6 // the code below didn't skip test even though there was no mail server
7 // test then failed (no mail server to test against)
11 socket_connect($socket, "localhost", 143) or die ("skip can't socket to mail server");
18 $options = OP_HALFOPEN; // this should be enough to verify server present
H A Dmail_include.inc3 $server = '{localhost}';
4 $default_mailbox = $server . "INBOX";
21 global $server, $default_mailbox, $username, $password;
27 echo "Cannot connect to IMAP server $server: " . imap_last_error() . "\n";
135 * Get the mailbox name from a mailbox decription, i.e strip off server details.
/PHP_TRUNK/ext/oci8/tests/
H A Ddetails.inc8 * successfully, you need a server and client which is Oracle 11g or
10 * corresponding to the POOLED server instance or an Easy Connect
/PHP_TRUNK/ext/opcache/tests/
H A Dphp_cli_server.inc24 // note: even when server prints 'Listening on localhost:8964...Press Ctrl-C to quit.'
41 // don't bother sleeping, server is already up
42 // server can take a variable amount of time to be up, so just sleeping a guessed amount of time
/PHP_TRUNK/ext/curl/tests/
H A Dserver.inc34 // note: even when server prints 'Listening on localhost:8964...Press Ctrl-C to quit.'
51 // don't bother sleeping, server is already up
52 // server can take a variable amount of time to be up, so just sleeping a guessed amount of time
/PHP_TRUNK/sapi/cli/tests/
H A Dphp_cli_server.inc37 // note: even when server prints 'Listening on localhost:8964...Press Ctrl-C to quit.'
55 // don't bother sleeping, server is already up
56 // server can take a variable amount of time to be up, so just sleeping a guessed amount of time
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dsystem_methods.c88 "<purpose>fully describes the methods and types implemented by this XML-RPC server.</purpose>"
142 "<purpose>enumerates the methods implemented by this XML-RPC server.</purpose>"
148 "<value type='string'>name of a method implemented by the server.</value>"
260 "<purpose>returns a list of capabilities supported by this server</purpose>"
269 "<value type='int' name='specVersion'>version of the spec that this server's implementation conforms to</value>"
292 static XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
293 static XMLRPC_VALUE xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
299 static void xsm_lazy_doc_methods_cb(XMLRPC_SERVER server, void* userData) { argument
301 XMLRPC_ServerAddIntrospectionData(server, xDesc);
305 void xsm_register(XMLRPC_SERVER server) { argument
315 xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
348 xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
[all...]
H A Dsystem_methods_private.h79 void xsm_register(XMLRPC_SERVER server);
H A Dxmlrpc.c116 * The user of this library will typically be implementing either an XMLRPC server,
119 * client will then send the XML to the server via external mechanism. The server will
2325 XMLRPC_SERVER server = calloc(1, sizeof(STRUCT_XMLRPC_SERVER)); local
2326 if(server) {
2327 Q_Init(&server->methodlist);
2328 Q_Init(&server->docslist);
2331 xsm_register(server);
2333 return server;
2338 /* Return global server
2386 XMLRPC_ServerDestroy(XMLRPC_SERVER server) argument
2439 XMLRPC_ServerRegisterMethod(XMLRPC_SERVER server, const char *name, XMLRPC_Callback cb) argument
2457 find_method(XMLRPC_SERVER server, const char* name) argument
2525 XMLRPC_ServerFindMethod(XMLRPC_SERVER server, const char* callName) argument
2567 XMLRPC_ServerCallMethod(XMLRPC_SERVER server, XMLRPC_REQUEST request, void* userData) argument
[all...]
H A Dxmlrpc_introspection.c67 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
68 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
69 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
70 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData);
94 static void check_docs_loaded(XMLRPC_SERVER server, void* userData) { argument
95 if(server) {
96 q_iter qi = Q_Iter_Head_F(&server->docslist);
100 dm->method(server, userData);
110 static inline void describe_method(XMLRPC_SERVER server, XMLRPC_VALUE vector, const char* method) { argument
112 server_method* sm = find_method(server, metho
122 xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
173 xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
190 xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
249 xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) argument
279 xi_register_system_methods(XMLRPC_SERVER server) argument
500 XMLRPC_ServerAddIntrospectionData(XMLRPC_SERVER server, XMLRPC_VALUE desc) argument
577 XMLRPC_ServerRegisterIntrospectionCallback(XMLRPC_SERVER server, XMLRPC_IntrospectionCallback cb) argument
[all...]
H A Dxmlrpc_introspection.h78 typedef void (*XMLRPC_IntrospectionCallback)(XMLRPC_SERVER server, void* userData);
90 int XMLRPC_ServerAddIntrospectionData(XMLRPC_SERVER server, XMLRPC_VALUE desc);
91 int XMLRPC_ServerRegisterIntrospectionCallback(XMLRPC_SERVER server, XMLRPC_IntrospectionCallback cb);
H A Dxmlrpc_introspection_private.h95 void xi_register_system_methods(XMLRPC_SERVER server);
H A Dxmlrpc_private.h133 * internal representation of an xmlrpc server
163 server_method* find_method(XMLRPC_SERVER server, const char* name);
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c67 einfo->errcode = mysql_errno(H->server);
93 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent);
103 strcpy(*pdo_err, mysql_sqlstate(H->server));
148 if (H->server) {
149 mysql_close(H->server);
150 H->server = NULL;
185 server_version = mysql_get_server_version(H->server);
202 if (!(S->stmt = mysql_stmt_init(H->server))) {
213 if (mysql_errno(H->server) == 1295) {
263 if (mysql_real_query(H->server, sq
[all...]
H A Dmysql_statement.c92 if (S->H->server) {
93 while (mysql_more_results(S->H->server)) {
95 if (mysql_next_result(S->H->server) != 0) {
99 res = mysql_store_result(S->H->server);
135 row_count = mysql_affected_rows(H->server);
140 S->result = mysql_use_result(H->server);
142 S->result = mysql_store_result(H->server);
332 if (mysql_real_query(H->server, stmt->active_query_string, stmt->active_query_stringlen) != 0) {
418 if (!mysql_more_results(H->server)) {
423 if (mysql_next_result(H->server)
[all...]
/PHP_TRUNK/ext/imap/tests/
H A Dimap_include.inc3 $server = '{127.0.0.1/norsh}';
4 $default_mailbox = $server . "INBOX";
33 * server with its clock synced to the current system, which is consistent with
67 global $server, $default_mailbox, $username, $password;
73 echo "Cannot connect to IMAP server $server: " . imap_last_error() . "\n";
181 * Get the mailbox name from a mailbox decription, i.e strip off server details.
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c113 ZEND_ARG_INFO(0, server)
117 ZEND_ARG_INFO(0, server)
123 ZEND_ARG_INFO(0, server)
134 ZEND_ARG_INFO(0, server)
139 ZEND_ARG_INFO(0, server)
183 /* per server data */
204 xmlrpc_server_data* server; member in struct:_xmlrpc_callback_data
253 static void php_xmlrpc_introspection_callback(XMLRPC_SERVER server, void* data);
265 static void destroy_server_data(xmlrpc_server_data *server) argument
267 if (server) {
818 xmlrpc_server_data *server = emalloc(sizeof(xmlrpc_server_data)); local
839 xmlrpc_server_data *server; local
860 php_xmlrpc_callback(XMLRPC_SERVER server, XMLRPC_REQUEST xRequest, void* data) argument
900 php_xmlrpc_introspection_callback(XMLRPC_SERVER server, void* data) argument
959 xmlrpc_server_data* server; local
991 xmlrpc_server_data* server; local
1020 xmlrpc_server_data* server; local
1122 xmlrpc_server_data* server; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c167 struct php_cli_server *server; member in struct:php_cli_server_client
207 { 400, "<h1>%s</h1><p>Your browser sent a request that this server could not understand.</p>" },
208 { 404, "<h1>%s</h1><p>The requested resource <code class=\"url\">%s</code> was not found on this server.</p>" },
209 { 500, "<h1>%s</h1><p>The server is temporarily unavailable.</p>" },
358 static const char *get_mime_type(const php_cli_server *server, const char *ext, size_t ext_len) /* {{{ */ argument
360 return (const char*)zend_hash_str_find_ptr(&server->extension_mime_types, ext, ext_len);
623 sapi_cli_server_register_variable(track_vars_array, "DOCUMENT_ROOT", client->server->document_root);
650 sapi_cli_server_register_variable(track_vars_array, "SERVER_NAME", client->server->host);
653 spprintf(&tmp, 0, "%i", client->server->port);
663 } else if (client->server
1770 php_cli_server_client_ctor(php_cli_server_client *client, php_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) argument
1812 php_cli_server_close_connection(php_cli_server *server, php_cli_server_client *client) argument
1820 php_cli_server_send_error_page(php_cli_server *server, php_cli_server_client *client, int status) argument
1915 php_cli_server_dispatch_script(php_cli_server *server, php_cli_server_client *client) argument
1937 php_cli_server_begin_send_static(php_cli_server *server, php_cli_server_client *client) argument
1995 php_cli_server_request_startup(php_cli_server *server, php_cli_server_client *client) argument
2013 php_cli_server_request_shutdown(php_cli_server *server, php_cli_server_client *client) argument
2023 php_cli_server_dispatch_router(php_cli_server *server, php_cli_server_client *client) argument
2062 php_cli_server_dispatch(php_cli_server *server, php_cli_server_client *client) argument
2119 php_cli_server_mime_type_ctor(php_cli_server *server, const php_cli_server_ext_mime_type_pair *mime_type_map) argument
2137 php_cli_server_dtor(php_cli_server *server) argument
2165 php_cli_server_ctor(php_cli_server *server, const char *addr, const char *document_root, const char *router) argument
2286 php_cli_server_recv_event_read_request(php_cli_server *server, php_cli_server_client *client) argument
2307 php_cli_server_send_event(php_cli_server *server, php_cli_server_client *client) argument
2338 php_cli_server *server; member in struct:php_cli_server_do_event_for_each_fd_callback_params
2346 php_cli_server *server = params->server; local
2394 php_cli_server_do_event_for_each_fd(php_cli_server *server, int(*rhandler)(php_cli_server*, php_cli_server_client*), int(*whandler)(php_cli_server*, php_cli_server_client*)) argument
2405 php_cli_server_do_event_loop(php_cli_server *server) argument
2432 static php_cli_server server; variable
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c70 char *errmsg = PQerrorMessage(H->server);
188 self->conn = H->server;
206 if (H->server) {
207 PQfinish(H->server);
208 H->server = NULL;
257 if (!emulate && PQprotocolVersion(H->server) > 2) {
297 if (!(res = PQexec(H->server, sql))) {
328 escaped = PQescapeByteaConn(H->server, (unsigned char *)unquoted, unquotedlen, &tmp_len);
340 *quotedlen = PQescapeStringConn(H->server, *quoted + 1, unquoted, unquotedlen, NULL);
363 res = PQexecParams(H->server, "SELEC
[all...]
H A Dpgsql_statement.c64 res = PQexec(H->server, q);
100 res = PQexec(H->server, q);
135 S->result = PQexec(H->server, q);
140 S->result = PQexec(H->server, q);
155 S->result = PQexec(H->server, q);
164 S->result = PQprepare(H->server, S->stmt_name, S->query,
187 res = PQexec(H->server, buf);
199 S->result = PQexecPrepared(H->server, S->stmt_name,
209 S->result = PQexecParams(H->server, S->query,
218 S->result = PQexec(H->server, stm
[all...]

Completed in 111 milliseconds

12