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/
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.php1855 /* when using CGI, strip the headers from the output */
1856 $headers = ""; variable
1861 $headers = array(); variable
1866 $headers[trim($line[0])] = trim($line[1]);
1886 $org_headers = $headers;
1887 $headers = array(); variable
1893 $headers = $org_headers[$k]; variable
/PHP_TRUNK/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...]
/PHP_TRUNK/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_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);
89 /* Additional HTTP headers */
129 /* skip some predefined headers */
890 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL TSRMLS_CC);
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 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);
1771 /* Process soap headers */
1961 /* Free soap headers */
2853 zval *headers = NULL; local
2865 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
2887 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
2888 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
2889 soap_headers = Z_ARRVAL_P(headers);
3182 zval *headers = NULL; local
3845 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version 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...]
/PHP_TRUNK/main/
H A DSAPI.h59 zend_llist headers; member in struct:__anon3
160 * operating on HTTP headers.
/PHP_TRUNK/ext/standard/
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...]
H A Dbasic_functions.c4620 4th arg = used for additional headers if email
4624 1 = send via email to 3rd parameter 4th option = additional headers
4634 char *message, *opt = NULL, *headers = NULL; local
4639 if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4647 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4656 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */
4658 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4662 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */
4669 if (!php_mail(opt, "PHP error_log message", message, headers, NULL TSRMLS_CC)) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4049 char *headers = NULL; local
4094 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) {
4102 if (headers) {
4103 MAIL_ASCIIZ_CHECK_MBSTRING(headers, headers_len);
4111 if (headers != NULL) {
4112 _php_mbstr_parse_mail_headers(&ht_headers, headers, headers_len);
4186 /* According to RFC 822, section 3.1.1 long headers may be separated into
4253 /* other headers */
4258 if (headers != NULL) {
4259 p = 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
1925 headers[count]._name = HTTP_HEADERS[i];
1926 headers[count]._nameLen = HTTP_HEADER_LEN[i];
1927 headers[count]._value = pValue;
1928 headers[count]._valueLen = len;
1952 headers[count]._name = pKey;
1953 headers[count]._nameLen = keyLen;
1954 headers[coun
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c136 HashTable headers; member in struct:php_cli_server_request
397 if (SUCCESS == zend_hash_find(&client->request.headers, "host", sizeof("host"), (void**)&val)) {
421 HashTable *headers; local
432 headers = &client->request.headers_original_case;
434 array_init_size(return_value, zend_hash_num_elements(headers));
436 zend_hash_internal_pointer_reset_ex(headers, &pos);
437 while (zend_hash_get_current_data_ex(headers, (void **)&value_pointer, &pos) == SUCCESS) {
438 zend_hash_get_current_key_ex(headers, &key, &key_len, NULL, 0, &pos);
440 zend_hash_move_forward_ex(headers, &pos);
479 if (!&SG(sapi_headers).headers) {
[all...]

Completed in 65 milliseconds