Searched refs:headers (Results 1 - 25 of 34) sorted by relevance

12

/PHP_TRUNK/ext/standard/tests/http/
H A Dserver.inc46 // read headers
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A DMakefile30 headers = $(posixheaders) $(onigheaders) macro
68 $(headers) $(libsources) $(patchfiles) \
/PHP_TRUNK/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...]
H A Dclient_round2_interop.php411 // // add headers to the test
412 // if ($soap_test->headers) {
414 // foreach ($soap_test->headers as $header) {
422 if ($this->useWSDL && !$soap_test->headers && !$soap_test->headers_expect) {
430 if ($soap_test->headers || $soap_test->headers_expect) {
431 $return = $soap->__soapCall($soap_test->method_name,$soap_test->method_params,array('soapaction'=>$soapaction,'uri'=>$namespace), $soap_test->headers, $result_headers);
454 if ($soap_test->headers || $soap_test->headers_expect) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c303 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
307 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
311 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
317 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
322 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
H A Dfpm_main.c392 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
400 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
426 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
441 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
448 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
865 sapi_cgi_send_headers, /* send headers handler */
/PHP_TRUNK/win32/
H A Dsendmail.h42 char *headers, char *headers_lc, char **error_message);
H A Dsendmail.c130 /* This function is meant to unify the headers passed to to mail()
204 char *headers, char *Subject, char *mailTo, char *data,
222 if (headers) {
227 if (NULL == (headers_lc = php_win32_mail_trim_header(headers))) {
264 /* Real offset is memaddress from the original headers + difference of
267 pos1 = headers + (pos1 - lookup) + 5;
292 if (headers) {
305 ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc->val, error_message);
310 if (headers) {
375 // 5,6) headers o
203 TSendMail(char *host, int *error, char **error_message, char *headers, char *Subject, char *mailTo, char *data, char *mailCc, char *mailBcc, char *mailRPath) argument
384 SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char *mailBcc, char *data, char *headers, char *headers_lc, char **error_message) argument
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.h116 HashTable *headers; /* array of sdlSoapBindingFunctionHeaderPtr */ member in struct:_sdlSoapBindingFunctionBody
H A Dphp_sdl.c635 if (binding->headers == NULL) {
636 binding->headers = emalloc(sizeof(HashTable));
637 zend_hash_init(binding->headers, 0, NULL, delete_header, 0);
646 if (zend_hash_add_ptr(binding->headers, key.s, h) == NULL) {
1456 body->headers = emalloc(sizeof(HashTable));
1457 zend_hash_init(body->headers, i, NULL, delete_header, 0);
1461 sdl_deserialize_key(body->headers, tmp, in);
2050 if (body->headers) {
2051 i = zend_hash_num_elements(body->headers);
2060 ZEND_HASH_FOREACH_STR_KEY_PTR(body->headers, ke
2433 make_persistent_sdl_function_headers(HashTable *headers, HashTable *ptr_map) argument
3160 smart_str headers = {0}; local
[all...]
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);
91 /* Additional HTTP headers */
131 /* skip some predefined headers */
890 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL);
926 /* Try and get headers again */
1324 static char *get_http_header_value(char *headers, char *type) argument
1330 headerslen = strlen(headers);
1334 pos = headers;
1344 eol = headers
1362 get_http_body(php_stream *stream, int close, char *headers, char **response, int *out_size) argument
[all...]
H A Dsoap.c62 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers);
63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version);
1798 /* Process soap headers */
1972 /* Free soap headers */
2867 zval *headers = NULL; local
2878 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2900 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2901 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2902 soap_headers = Z_ARRVAL_P(headers);
3193 zval *headers = NULL; local
3452 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) argument
3851 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_mail.h28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
H A Dbasic_functions.h148 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers);
149 PHPAPI int _php_error_log_ex(int opt_err, char *message, size_t message_len, char *opt, char *headers);
H A Dmail.c105 zend_string *extra_cmd=NULL, *headers=NULL, *headers_trimmed=NULL; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == FAILURE) {
120 if (headers) {
121 MAIL_ASCIIZ_CHECK(ZSTR_VAL(headers), ZSTR_LEN(headers));
122 headers_trimmed = php_trim(headers, NULL, 0, 2);
138 /* According to RFC 822, section 3.1.1 long headers may be separated into
266 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) argument
277 char *hdr = headers;
283 if (hdr != headers) { \
[all...]
H A Dhead.c230 Returns true if headers have already been sent, false otherwise */
268 Turn an llist of sapi_header_struct headers into a numerically indexed zval hash */
279 Return list of headers to be sent / already sent */
287 zend_llist_apply_with_argument(&SG(sapi_headers).headers, php_head_apply_header_list_to_hash, return_value);
/PHP_TRUNK/
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
1284 $headers = array(); variable
1287 $headers = $this->getEvalTestSettings(@$section_text['HEADERS'],$tmp_file); variable
1386 $headers = $r->response_headers; variable
1396 $headers = array(); variable
[all...]
H A Drun-tests.php1947 /* when using CGI, strip the headers from the output */
1948 $headers = ""; variable
1953 $headers = array(); variable
1958 $headers[trim($line[0])] = trim($line[1]);
1978 $org_headers = $headers;
1979 $headers = array(); variable
1985 $headers = $org_headers[$k]; variable
/PHP_TRUNK/main/
H A DSAPI.h60 zend_llist headers; member in struct:__anon8
161 * operating on HTTP headers.
H A DSAPI.c399 zend_llist_init(&SG(sapi_headers).headers, sizeof(sapi_header_struct),
440 zend_llist_init(&SG(sapi_headers).headers, sizeof(sapi_header_struct), (void (*)(void *)) sapi_free_header, 0);
504 zend_llist_destroy(&SG(sapi_headers).headers);
653 sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, (int)strlen(sapi_header->header));
657 zend_llist_add_element(&SG(sapi_headers).headers, (void *) sapi_header);
676 sapi_module.sapi_error(E_WARNING, "Cannot modify header information - headers already sent by (output started at %s:%d)",
679 sapi_module.sapi_error(E_WARNING, "Cannot modify header information - headers already sent");
707 zend_llist_clean(&SG(sapi_headers).headers);
735 sapi_remove_header(&SG(sapi_headers).headers, header_line, header_line_len);
904 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c704 static const char * headers[] = local
721 LSAPI_ErrResponse_r( pReq, 508, headers, achBody, sizeof( achBody ) - 1 );
1933 struct _headerInfo headers[512]; local
1948 headers[count]._name = HTTP_HEADERS[i];
1949 headers[count]._nameLen = HTTP_HEADER_LEN[i];
1950 headers[count]._value = pValue;
1951 headers[count]._valueLen = len;
1975 headers[count]._name = pKey;
1976 headers[count]._nameLen = keyLen;
1977 headers[coun
[all...]
H A Dlsapi_main.c370 h = zend_llist_get_first_ex(&sapi_headers->headers, &pos);
375 h = zend_llist_get_next_ex(&sapi_headers->headers, &pos);
436 sapi_lsapi_send_headers, /* send headers handler */
1180 Fetch all HTTP request headers */
1197 Fetch all HTTP response headers */
1210 if (!&SG(sapi_headers).headers) {
1215 h = zend_llist_get_first_ex(&SG(sapi_headers).headers, &pos);
1236 h = zend_llist_get_next_ex(&SG(sapi_headers).headers, &pos);
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c266 ZEND_ARG_INFO(0, headers)
1645 Returns headers for all messages in a mailbox */
2073 Read the headers of the message */
2125 from a server, not text headers */
2157 /* {{{ proto object imap_rfc822_parse_headers(string headers [, string default_host])
2158 Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() */
2161 zend_string *headers, *defaulthost = NULL; local
2165 if (zend_parse_parameters(argc, "S|S", &headers, &defaulthost) == FAILURE) {
2170 rfc822_parse_msg(&en, NULL, ZSTR_VAL(headers), ZSTR_LEN(headers), NUL
3925 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath) argument
4090 zend_string *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c132 HashTable headers; member in struct:php_cli_server_request
344 if (NULL != (val = zend_hash_str_find_ptr(&client->request.headers, "host", sizeof("host")-1))) {
362 HashTable *headers; local
372 headers = &client->request.headers_original_case;
374 array_init_size(return_value, zend_hash_num_elements(headers));
376 ZEND_HASH_FOREACH_STR_KEY_PTR(headers, key, value) {
418 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value);
539 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
545 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
560 if (NULL == (val = zend_hash_str_find_ptr(&client->request.headers, "cooki
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c408 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
416 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
442 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
457 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
464 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
945 sapi_cgi_send_headers, /* send headers handler */
1680 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value);
2201 case 'q': /* do not generate HTTP headers */

Completed in 68 milliseconds

12