Searched defs:headers (Results 1 - 18 of 18) sorted by relevance

/PHP_5_4/ext/soap/interop/
H A Dclient_round2_params.php32 var $headers = NULL; variable
442 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hello world', 0, SOAP_ACTOR_NEXT);
448 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', new SoapVar('hello world',XSD_STRING), 0, SOAP_ACTOR_NEXT);
454 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hello world', 1, SOAP_ACTOR_NEXT);
460 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', new SoapVar('hello world',XSD_STRING), 1, SOAP_ACTOR_NEXT);
466 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hello world', 0, SOAP_TEST_ACTOR_OTHER);
472 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', new SoapVar('hello world',XSD_STRING), 0, SOAP_TEST_ACTOR_OTHER);
478 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hello world', 1, SOAP_TEST_ACTOR_OTHER);
484 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', new SoapVar('hello world', XSD_STRING), 1, SOAP_TEST_ACTOR_OTHER);
491 $test->headers[]
[all...]
/PHP_5_4/
H A Dserver-tests.php227 // kill the headers
241 public $headers = array(); variable
257 headers is assoc array of outgoing http headers
271 function HTTPRequest($URL, $headers=array(), $options=array(), $postdata=NULL)
276 $this->headers = $headers; variable
340 $headers['Proxy-Authorization'] = 'Basic ' . base64_encode($this->options['proxy_user'].":".$this->options['proxy_pass']);
342 $headers['User-Agent'] = $this->userAgent;
343 $headers['Hos
347 $headers = array_merge($headers, $this->headers); variable
1285 $headers = array(); variable
1288 $headers = $this->getEvalTestSettings(@$section_text['HEADERS'],$tmp_file); variable
1387 $headers = $r->response_headers; variable
1397 $headers = array(); variable
[all...]
H A Drun-tests.php1848 /* when using CGI, strip the headers from the output */
1849 $headers = ""; variable
1854 $headers = array(); variable
1859 $headers[trim($line[0])] = trim($line[1]);
1879 $org_headers = $headers;
1880 $headers = array(); variable
1886 $headers = $org_headers[$k]; variable
/PHP_5_4/win32/
H A Dsendmail.c143 /* This function is meant to unify the headers passed to to mail()
213 char *headers, char *Subject, char *mailTo, char *data,
235 if (headers) {
240 if (NULL == (headers = php_win32_mail_trim_header(headers TSRMLS_CC))) {
247 if (NULL == (headers_lc = estrdup(headers))) {
248 efree(headers);
266 /* Real offset is memaddress from the original headers + difference of
269 pos1 = headers + (pos1 - headers_lc) + 5;
276 if (headers) {
212 TSendMail(char *host, int *error, char **error_message, char *headers, char *Subject, char *mailTo, char *data, char *mailCc, char *mailBcc, char *mailRPath TSRMLS_DC) argument
381 SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char *mailBcc, char *data, char *headers, char *headers_lc, char **error_message TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/soap/
H A Dphp_http.c27 static char *get_http_header_value(char *headers, char *type);
28 static int get_http_body(php_stream *socketd, int close, char *headers, char **response, int *out_size TSRMLS_DC);
89 /* Additional HTTP headers */
129 /* skip some predefined headers */
827 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL TSRMLS_CC);
863 /* Try and get headers again */
1261 static char *get_http_header_value(char *headers, char *type) argument
1267 headerslen = strlen(headers);
1271 pos = headers;
1281 eol = headers
1299 get_http_body(php_stream *stream, int close, char *headers, char **response, int *out_size TSRMLS_DC) argument
[all...]
H A Dphp_sdl.c642 if (binding->headers == NULL) {
643 binding->headers = emalloc(sizeof(HashTable));
644 zend_hash_init(binding->headers, 0, NULL, delete_header, 0);
653 if (zend_hash_add(binding->headers, key.c, key.len+1, (void**)&h, sizeof(sdlSoapBindingFunctionHeaderPtr), NULL) != SUCCESS) {
1464 body->headers = emalloc(sizeof(HashTable));
1465 zend_hash_init(body->headers, i, NULL, delete_header, 0);
1469 sdl_deserialize_key(body->headers, tmp, in);
2064 if (body->headers) {
2065 i = zend_hash_num_elements(body->headers);
2072 zend_hash_internal_pointer_reset(body->headers);
2439 make_persistent_sdl_function_headers(HashTable *headers, HashTable *ptr_map) argument
3197 smart_str headers = {0}; local
[all...]
H A Dphp_sdl.h116 HashTable *headers; /* array of sdlSoapBindingFunctionHeaderPtr */ member in struct:_sdlSoapBindingFunctionBody
H A Dsoap.c61 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters[], int *version, soapHeader **headers TSRMLS_DC);
62 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
1768 /* Process soap headers */
1958 /* Free soap headers */
2835 zval *headers = NULL; local
2847 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2869 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2870 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2871 soap_headers = Z_ARRVAL_P(headers);
3164 zval *headers = NULL; local
3827 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
[all...]
/PHP_5_4/main/
H A DSAPI.h58 zend_llist headers; member in struct:__anon287
157 * operating on HTTP headers.
/PHP_5_4/sapi/caudium/
H A Dcaudium.c123 * of functions to handle headers, writing and buffering.
128 * a mapping with headers, an FD object etc.
162 * headers in the supplied options mapping.
167 struct svalue *headers, *value; local
171 headers = low_mapping_string_lookup(REQUEST_DATA, sind);
173 if(!headers || headers->type != PIKE_T_MAPPING) return NULL;
175 value = low_mapping_string_lookup(headers->u.mapping, sind);
355 * php_caudium_sapi_send_headers() flushes the headers to the client.
389 THREAD_SAFE_RUN(res = php_caudium_low_send_headers(sapi_headers TSRMLS_CC), "send headers");
485 struct svalue *headers; local
[all...]
/PHP_5_4/ext/curl/
H A Dphp_curl.h183 zval *headers; member in struct:__anon40
184 struct curl_slist *headers_slist; /* holds custom headers sent out in the request */
/PHP_5_4/ext/imap/
H A Dphp_imap.c266 ZEND_ARG_INFO(0, headers)
1626 Returns headers for all messages in a mailbox */
2036 Read the headers of the message */
2086 from a server, not text headers */
2118 /* {{{ proto object imap_rfc822_parse_headers(string headers [, string default_host])
2119 Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() */
2122 char *headers, *defaulthost = NULL; local
2126 if (zend_parse_parameters(argc TSRMLS_CC, "s|s", &headers, &headers_len, &defaulthost, &defaulthost_len) == FAILURE) {
2131 rfc822_parse_msg(&en, NULL, headers, headers_len, NULL, defaulthost, NIL);
2133 rfc822_parse_msg(&en, NULL, headers, headers_le
3883 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath TSRMLS_DC) argument
4048 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_5_4/ext/mbstring/
H A Dmbstring.c4025 char *headers = NULL; local
4070 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
4078 if (headers) {
4079 MAIL_ASCIIZ_CHECK_MBSTRING(headers, headers_len);
4087 if (headers != NULL) {
4088 _php_mbstr_parse_mail_headers(&ht_headers, headers, headers_len);
4162 /* According to RFC 822, section 3.1.1 long headers may be separated into
4229 /* other headers */
4234 if (headers != NULL) {
4235 p = headers;
[all...]
/PHP_5_4/sapi/roxen/
H A Droxen.c104 * of functions to handle headers, writing and buffering.
109 * a mapping with headers, an FD object etc.
162 * headers in the supplied options mapping.
167 struct svalue *headers, *value; local
173 headers = low_mapping_string_lookup(REQUEST_DATA, sind);
175 if(!headers || headers->type != PIKE_T_MAPPING) return NULL;
177 value = low_mapping_string_lookup(headers->u.mapping, sind);
344 * php_roxen_sapi_send_headers() flushes the headers to the client.
381 THREAD_SAFE_RUN(res = php_roxen_low_send_headers(sapi_headers TSRMLS_CC), "send headers");
529 struct svalue *headers; local
[all...]
/PHP_5_4/ext/standard/
H A Dmail.c101 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
109 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
117 if (headers) {
118 MAIL_ASCIIZ_CHECK(headers, headers_len);
119 headers_trimmed = php_trim(headers, headers_len, NULL, 0, NULL, 2 TSRMLS_CC);
135 /* According to RFC 822, section 3.1.1 long headers may be separated into
226 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC) argument
237 char *hdr = headers;
243 if (hdr != headers) { \
276 if (headers !
[all...]
H A Dbasic_functions.c4613 4th arg = used for additional headers if email
4617 1 = send via email to 3rd parameter 4th option = additional headers
4627 char *message, *opt = NULL, *headers = NULL; local
4632 if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4640 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4649 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */
4651 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4655 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */
4662 if (!php_mail(opt, "PHP error_log message", message, headers, NULL TSRMLS_CC)) {
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c133 HashTable headers; member in struct:php_cli_server_request
413 if (SUCCESS == zend_hash_find(&client->request.headers, "host", sizeof("host"), (void**)&val)) {
541 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
547 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
562 if (FAILURE == zend_hash_find(&client->request.headers, "cookie", sizeof("cookie"), (void**)&val)) {
676 zend_hash_apply_with_arguments(&client->request.headers TSRMLS_CC, (apply_func_args_t)sapi_cli_server_register_entry_cb, 1, track_vars_array);
716 sapi_cli_server_send_headers, /* send headers handler */
1292 zend_hash_init(&req->headers, 0, NULL, (void(*)(void*))char_ptr_dtor_p, 1);
1317 zend_hash_destroy(&req->headers);
1561 zend_hash_add(&client->request.headers, header_nam
[all...]
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c704 static const char * headers[] = local
721 LSAPI_ErrResponse_r( pReq, 508, headers, achBody, sizeof( achBody ) - 1 );
1914 struct _headerInfo headers[512]; local
1929 headers[count]._name = HTTP_HEADERS[i];
1930 headers[count]._nameLen = HTTP_HEADER_LEN[i];
1931 headers[count]._value = pValue;
1932 headers[count]._valueLen = len;
1956 headers[count]._name = pKey;
1957 headers[count]._nameLen = keyLen;
1958 headers[coun
[all...]

Completed in 61 milliseconds