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

/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...]
/PHP_TRUNK/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...]
/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
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.php1862 /* when using CGI, strip the headers from the output */
1863 $headers = ""; variable
1868 $headers = array(); variable
1873 $headers[trim($line[0])] = trim($line[1]);
1893 $org_headers = $headers;
1894 $headers = array(); variable
1900 $headers = $org_headers[$k]; variable
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c266 ZEND_ARG_INFO(0, headers)
1626 Returns headers for all messages in a mailbox */
2035 Read the headers of the message */
2085 from a server, not text headers */
2117 /* {{{ proto object imap_rfc822_parse_headers(string headers [, string default_host])
2118 Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() */
2121 char *headers, *defaulthost = NULL; local
2125 if (zend_parse_parameters(argc, "s|s", &headers, &headers_len, &defaulthost, &defaulthost_len) == FAILURE) {
2130 rfc822_parse_msg(&en, NULL, headers, headers_len, NULL, defaulthost, NIL);
2132 rfc822_parse_msg(&en, NULL, headers, headers_le
3862 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath) argument
4027 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4056 char *headers = NULL; local
4100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4108 if (headers) {
4109 MAIL_ASCIIZ_CHECK_MBSTRING(headers, headers_len);
4117 if (headers != NULL) {
4118 _php_mbstr_parse_mail_headers(&ht_headers, headers, headers_len);
4187 /* According to RFC 822, section 3.1.1 long headers may be separated into
4254 /* other headers */
4259 if (headers != NULL) {
4260 p = headers;
[all...]
/PHP_TRUNK/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);
87 /* Additional HTTP headers */
127 /* skip some predefined headers */
882 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL);
918 /* Try and get headers again */
1315 static char *get_http_header_value(char *headers, char *type) argument
1321 headerslen = strlen(headers);
1325 pos = headers;
1335 eol = headers
1353 get_http_body(php_stream *stream, int close, char *headers, char **response, int *out_size) argument
[all...]
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
3161 smart_str headers = {0}; local
[all...]
H A Dphp_sdl.h116 HashTable *headers; /* array of sdlSoapBindingFunctionHeaderPtr */ member in struct:_sdlSoapBindingFunctionBody
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);
1783 /* Process soap headers */
1981 /* Free soap headers */
2865 zval *headers = NULL; local
2876 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2898 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2899 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2900 soap_headers = Z_ARRVAL_P(headers);
3185 zval *headers = NULL; local
3444 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) argument
3844 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dmail.c103 char *to=NULL, *message=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, &headers_len, &extra_cmd) == FAILURE) {
120 if (headers) {
121 MAIL_ASCIIZ_CHECK(headers, headers_len);
122 headers_trimmed = php_trim(headers, headers_len, NULL, 0, NULL, 2);
138 /* According to RFC 822, section 3.1.1 long headers may be separated into
229 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) argument
240 char *hdr = headers;
246 if (hdr != headers) { \
287 if (headers !
[all...]
H A Dbasic_functions.c4615 4th arg = used for additional headers if email
4619 1 = send via email to 3rd parameter 4th option = additional headers
4629 char *message, *opt = NULL, *headers = NULL; local
4634 if (zend_parse_parameters(argc, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4642 if (_php_error_log_ex(opt_err, message, message_len, opt, headers) == FAILURE) {
4651 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers) /* {{{ */ argument
4653 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers);
4657 PHPAPI int _php_error_log_ex(int opt_err, char *message, size_t message_len, char *opt, char *headers) /* {{{ */ argument
4664 if (!php_mail(opt, "PHP error_log message", message, headers, NULL)) {
/PHP_TRUNK/main/
H A DSAPI.h60 zend_llist headers; member in struct:__anon253
161 * operating on HTTP headers.
/PHP_TRUNK/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), "send headers");
484 struct svalue *headers; local
[all...]
/PHP_TRUNK/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), "send headers");
528 struct svalue *headers; local
[all...]
/PHP_TRUNK/win32/
H A Dsendmail.c144 /* This function is meant to unify the headers passed to to mail()
215 char *headers, char *Subject, char *mailTo, char *data,
237 if (headers) {
243 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) {
268 /* Real offset is memaddress from the original headers + difference of
271 pos1 = headers + (pos1 - headers_lc->val) + 5;
291 if (headers) {
292 efree(headers);
305 ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc->val, error_message);
310 if (headers) {
214 TSendMail(char *host, int *error, char **error_message, char *headers, char *Subject, char *mailTo, char *data, char *mailCc, char *mailBcc, char *mailRPath) argument
385 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/sapi/cli/
H A Dphp_cli_server.c137 HashTable headers; member in struct:php_cli_server_request
349 if (NULL != (val = zend_hash_str_find_ptr(&client->request.headers, "host", sizeof("host")-1))) {
367 HashTable *headers; local
377 headers = &client->request.headers_original_case;
379 array_init_size(return_value, zend_hash_num_elements(headers));
381 ZEND_HASH_FOREACH_STR_KEY_PTR(headers, key, value) {
422 if (!&SG(sapi_headers).headers) {
426 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value);
547 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
553 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers,
[all...]

Completed in 55 milliseconds