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

12

/PHP_5_5/ext/standard/tests/http/
H A Dserver.inc46 // read headers
/PHP_5_5/win32/build/
H A Dprojectgen.js28 headers = file_get_contents("tmp\\src\\" + ext + ".headers.tmp");
29 headers = (path ? headers.replace(/\.\//g, path) : headers);
30 tmpl = tmpl.replace("HEADERFILES", headers);
31 FSO.DeleteFile("tmp\\src\\" + ext + ".headers.tmp");
187 function generate_timelib_conf(headers)
191 var pos = headers.search(file);
192 var entry = headers
[all...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_log.c301 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
305 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
309 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
315 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
320 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
/PHP_5_5/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_5_5/
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...]
/PHP_5_5/win32/
H A Dsendmail.c144 /* This function is meant to unify the headers passed to to mail()
214 char *headers, char *Subject, char *mailTo, char *data,
236 if (headers) {
241 if (NULL == (headers = php_win32_mail_trim_header(headers TSRMLS_CC))) {
248 if (NULL == (headers_lc = estrdup(headers))) {
249 efree(headers);
267 /* Real offset is memaddress from the original headers + difference of
270 pos1 = headers + (pos1 - headers_lc) + 5;
277 if (headers) {
213 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
382 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...]
H A Dsendmail.h42 char *headers, char *headers_lc, char **error_message TSRMLS_DC);
/PHP_5_5/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 */
889 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL TSRMLS_CC);
925 /* Try and get headers again */
1323 static char *get_http_header_value(char *headers, char *type) argument
1329 headerslen = strlen(headers);
1333 pos = headers;
1343 eol = headers
1361 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);
1774 /* Process soap headers */
1964 /* Free soap headers */
2856 zval *headers = NULL; local
2868 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2890 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2891 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2892 soap_headers = Z_ARRVAL_P(headers);
3185 zval *headers = NULL; local
3848 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
[all...]
/PHP_5_5/ext/standard/
H A Dbasic_functions.h146 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC);
147 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC);
H A Dhead.c224 Returns true if headers have already been sent, false otherwise */
262 Turn an llist of sapi_header_struct headers into a numerically indexed zval hash */
273 Return list of headers to be sent / already sent */
280 if (!&SG(sapi_headers).headers) {
284 zend_llist_apply_with_argument(&SG(sapi_headers).headers, php_head_apply_header_list_to_hash, return_value TSRMLS_CC);
H A Dphp_mail.h28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC);
H A Dmail.c103 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
111 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) {
119 if (headers) {
120 MAIL_ASCIIZ_CHECK(headers, headers_len);
121 headers_trimmed = php_trim(headers, headers_len, NULL, 0, NULL, 2 TSRMLS_CC);
137 /* According to RFC 822, section 3.1.1 long headers may be separated into
228 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC) argument
239 char *hdr = headers;
245 if (hdr != headers) { \
286 if (headers !
[all...]
/PHP_5_5/sapi/aolserver/
H A Daolserver.c27 /* conflict between PHP and AOLserver headers */
143 * php_ns_sapi_send_headers() flushes the headers to the client.
193 i = Ns_SetIFind(NSG(conn->headers), "cookie");
195 http_cookie = Ns_SetValue(NSG(conn->headers), i);
230 for (i = 0; i < Ns_SetSize(NSG(conn)->headers); i++) {
231 php_info_print_table_row(2, Ns_SetKey(NSG(conn)->headers, i), Ns_SetValue(NSG(conn)->headers, i));
272 for (i = 0; i < Ns_SetSize(NSG(conn->headers)); i++) {
273 char *key = Ns_SetKey(NSG(conn->headers), i);
274 char *value = Ns_SetValue(NSG(conn->headers),
[all...]
/PHP_5_5/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_5/sapi/nsapi/
H A Dnsapi.c190 PHP_FE(nsapi_request_headers, arginfo_nsapi_request_headers) /* get request headers */
193 PHP_FE(nsapi_response_headers, arginfo_nsapi_response_headers) /* get response headers */
361 param_free(pblock_remove("host", rq->headers));
362 if (value = pblock_findval("host", rc->rq->headers)) {
363 pblock_nvinsert("host", value, rq->headers);
401 Get all headers from the request */
414 for (i=0; i < rc->rq->headers->hsize; i++) {
415 entry=rc->rq->headers->ht[i];
425 Get all headers from the response */
506 /* header_name to lower case because NSAPI reformats the headers an
[all...]
/PHP_5_5/sapi/phttpd/
H A Dphttpd.c116 i = Ns_SetIFind(NSG(conn->headers), "cookie");
118 http_cookie = Ns_SetValue(NSG(conn->headers), i);
169 php_phttpd_sapi_send_headers, /* send headers handler */
214 index = Ns_SetIFind(NSG(conn)->headers, "content-type");
216 Ns_SetValue(NSG(conn)->headers, index);
/PHP_5_5/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_5/sapi/tux/
H A Dphp_tux.c58 /* combine headers and body */
131 h = zend_llist_get_first_ex(&sapi_headers->headers, &pos);
148 h = zend_llist_get_next_ex(&sapi_headers->headers, &pos);
/PHP_5_5/main/
H A DSAPI.c389 zend_llist_init(&SG(sapi_headers).headers, sizeof(sapi_header_struct),
431 zend_llist_init(&SG(sapi_headers).headers, sizeof(sapi_header_struct), (void (*)(void *)) sapi_free_header, 0);
503 zend_llist_destroy(&SG(sapi_headers).headers);
657 sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, strlen(sapi_header->header));
661 zend_llist_add_element(&SG(sapi_headers).headers, (void *) sapi_header);
680 sapi_module.sapi_error(E_WARNING, "Cannot modify header information - headers already sent by (output started at %s:%d)",
683 sapi_module.sapi_error(E_WARNING, "Cannot modify header information - headers already sent");
711 zend_llist_clean(&SG(sapi_headers).headers);
739 sapi_remove_header(&SG(sapi_headers).headers, header_line, header_line_len);
909 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_
[all...]
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c135 HashTable headers; member in struct:php_cli_server_request
458 if (SUCCESS == zend_hash_find(&client->request.headers, "host", sizeof("host"), (void**)&val)) {
483 HashTable *headers; local
494 headers = &client->request.headers_original_case;
496 array_init_size(return_value, zend_hash_num_elements(headers));
498 zend_hash_internal_pointer_reset_ex(headers, &pos);
499 while (zend_hash_get_current_data_ex(headers, (void **)&value_pointer, &pos) == SUCCESS) {
500 zend_hash_get_current_key_ex(headers, &key, &key_len, NULL, 0, &pos);
502 zend_hash_move_forward_ex(headers, &pos);
541 if (!&SG(sapi_headers).headers) {
[all...]
/PHP_5_5/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 41 milliseconds

12