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/ext/imap/
H A Dphp_imap.c266 ZEND_ARG_INFO(0, headers)
1628 Returns headers for all messages in a mailbox */
2037 Read the headers of the message */
2087 from a server, not text headers */
2119 /* {{{ proto object imap_rfc822_parse_headers(string headers [, string default_host])
2120 Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() */
2123 char *headers, *defaulthost = NULL; local
2127 if (zend_parse_parameters(argc TSRMLS_CC, "s|s", &headers, &headers_len, &defaulthost, &defaulthost_len) == FAILURE) {
2132 rfc822_parse_msg(&en, NULL, headers, headers_len, NULL, defaulthost, NIL);
2134 rfc822_parse_msg(&en, NULL, headers, headers_le
3864 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath TSRMLS_DC) argument
4029 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4049 char *headers = NULL; local
4093 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) == FAILURE) {
4101 if (headers) {
4102 MAIL_ASCIIZ_CHECK_MBSTRING(headers, headers_len);
4110 if (headers != NULL) {
4111 _php_mbstr_parse_mail_headers(&ht_headers, headers, headers_len);
4180 /* According to RFC 822, section 3.1.1 long headers may be separated into
4247 /* other headers */
4252 if (headers != NULL) {
4253 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 TSRMLS_DC);
87 /* Additional HTTP headers */
127 /* skip some predefined headers */
882 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL TSRMLS_CC);
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 TSRMLS_DC) argument
[all...]
H A Dphp_sdl.c636 if (binding->headers == NULL) {
637 binding->headers = emalloc(sizeof(HashTable));
638 zend_hash_init(binding->headers, 0, NULL, delete_header, 0);
647 if (zend_hash_add_ptr(binding->headers, key.s, h) == NULL) {
1457 body->headers = emalloc(sizeof(HashTable));
1458 zend_hash_init(body->headers, i, NULL, delete_header, 0);
1462 sdl_deserialize_key(body->headers, tmp, in);
2051 if (body->headers) {
2052 i = zend_hash_num_elements(body->headers);
2061 ZEND_HASH_FOREACH_STR_KEY_PTR(body->headers, ke
2434 make_persistent_sdl_function_headers(HashTable *headers, HashTable *ptr_map) argument
3162 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 TSRMLS_DC);
63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
1773 /* Process soap headers */
1971 /* Free soap headers */
2855 zval *headers = NULL; local
2866 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2888 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2889 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2890 soap_headers = Z_ARRVAL_P(headers);
3175 zval *headers = NULL; local
3835 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4616 4th arg = used for additional headers if email
4620 1 = send via email to 3rd parameter 4th option = additional headers
4630 char *message, *opt = NULL, *headers = NULL; local
4635 if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4643 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4652 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */
4654 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4658 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */
4665 if (!php_mail(opt, "PHP error_log message", message, headers, NULL TSRMLS_CC)) {
H A Dmail.c103 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
112 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) == FAILURE) {
120 if (headers) {
121 MAIL_ASCIIZ_CHECK(headers, headers_len);
122 headers_trimmed = php_trim(headers, headers_len, NULL, 0, NULL, 2 TSRMLS_CC);
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 TSRMLS_DC) argument
240 char *hdr = headers;
246 if (hdr != headers) { \
287 if (headers !
[all...]
/PHP_TRUNK/main/
H A DSAPI.h60 zend_llist headers; member in struct:__anon283
161 * operating on HTTP headers.
/PHP_TRUNK/
H A Drun-tests.php1858 /* when using CGI, strip the headers from the output */
1859 $headers = ""; variable
1864 $headers = array(); variable
1869 $headers[trim($line[0])] = trim($line[1]);
1889 $org_headers = $headers;
1890 $headers = array(); variable
1896 $headers = $org_headers[$k]; variable
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_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/sapi/cli/
H A Dphp_cli_server.c136 HashTable headers; member in struct:php_cli_server_request
397 if (NULL != (val = zend_hash_str_find_ptr(&client->request.headers, "host", sizeof("host")-1))) {
415 HashTable *headers; local
425 headers = &client->request.headers_original_case;
427 array_init_size(return_value, zend_hash_num_elements(headers));
429 ZEND_HASH_FOREACH_STR_KEY_PTR(headers, key, value) {
470 if (!&SG(sapi_headers).headers) {
474 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value TSRMLS_CC);
595 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
601 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers,
[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 TSRMLS_CC))) {
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 TSRMLS_CC);
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 TSRMLS_DC) argument
385 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_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 TSRMLS_CC), "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 TSRMLS_CC), "send headers");
528 struct svalue *headers; local
[all...]

Completed in 80 milliseconds