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

/PHP_5_3/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_5_3/
H A Drun-tests.php1820 /* when using CGI, strip the headers from the output */
1821 $headers = ""; variable
1826 $headers = array(); variable
1831 $headers[trim($line[0])] = trim($line[1]);
1851 $org_headers = $headers;
1852 $headers = array(); variable
1858 $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_5_3/win32/
H A Dsendmail.c143 /* This function is meant to unify the headers passed to to mail()
213 char *headers, char *Subject, char *mailTo, char *data,
235 if (headers) {
240 if (NULL == (headers = php_win32_mail_trim_header(headers TSRMLS_CC))) {
247 if (NULL == (headers_lc = estrdup(headers))) {
248 efree(headers);
266 /* Real offset is memaddress from the original headers + difference of
269 pos1 = headers + (pos1 - headers_lc) + 5;
276 if (headers) {
212 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
381 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_5_3/ext/curl/
H A Dphp_curl.h183 zval *headers; member in struct:__anon23
184 struct curl_slist *headers_slist; /* holds custom headers sent out in the request */
/PHP_5_3/ext/imap/
H A Dphp_imap.c266 ZEND_ARG_INFO(0, headers)
1635 Returns headers for all messages in a mailbox */
2045 Read the headers of the message */
2095 from a server, not text headers */
2127 /* {{{ proto object imap_rfc822_parse_headers(string headers [, string default_host])
2128 Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo() */
2131 char *headers, *defaulthost = NULL; local
2135 if (zend_parse_parameters(argc TSRMLS_CC, "s|s", &headers, &headers_len, &defaulthost, &defaulthost_len) == FAILURE) {
2140 rfc822_parse_msg(&en, NULL, headers, headers_len, NULL, defaulthost, NIL);
2142 rfc822_parse_msg(&en, NULL, headers, headers_le
3892 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath TSRMLS_DC) argument
4057 char *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_5_3/ext/mbstring/
H A Dmbstring.c3837 char *headers = NULL; local
3887 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) {
3895 if (headers) {
3896 MAIL_ASCIIZ_CHECK_MBSTRING(headers, headers_len);
3904 if (headers != NULL) {
3905 _php_mbstr_parse_mail_headers(&ht_headers, headers, headers_len);
3979 /* According to RFC 822, section 3.1.1 long headers may be separated into
4046 /* other headers */
4051 if (headers != NULL) {
4052 p = headers;
[all...]
/PHP_5_3/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 */
825 add_soap_fault(this_ptr, "HTTP", "Error Fetching http headers", NULL, NULL TSRMLS_CC);
861 /* Try and get headers again */
1259 static char *get_http_header_value(char *headers, char *type) argument
1265 headerslen = strlen(headers);
1269 pos = headers;
1279 eol = headers
1297 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
3196 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);
1902 /* Process soap headers */
2122 /* Free soap headers */
3024 zval *headers = NULL; local
3036 &function, &function_len, &args, &options, &headers, &output_headers) == FAILURE) {
3058 if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
3059 } else if (Z_TYPE_P(headers) == IS_ARRAY) {
3060 soap_headers = Z_ARRVAL_P(headers);
3335 zval *headers = NULL; local
3997 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/standard/
H A Dmail.c101 char *to=NULL, *message=NULL, *headers=NULL, *headers_trimmed=NULL; local
115 &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE
124 if (headers) {
125 MAIL_ASCIIZ_CHECK(headers, headers_len);
126 headers_trimmed = php_trim(headers, headers_len, NULL, 0, NULL, 2 TSRMLS_CC);
142 /* According to RFC 822, section 3.1.1 long headers may be separated into
202 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC) argument
213 char *hdr = headers;
219 if (hdr != headers) { \
249 if (headers !
[all...]
H A Dbasic_functions.c4666 4th arg = used for additional headers if email
4670 1 = send via email to 3rd parameter 4th option = additional headers
4680 char *message, *opt = NULL, *headers = NULL; local
4685 if (zend_parse_parameters(argc TSRMLS_CC, "s|lss", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4699 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4708 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */
4710 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4714 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */
4721 if (!php_mail(opt, "PHP error_log message", message, headers, NULL TSRMLS_CC)) {
/PHP_5_3/main/
H A DSAPI.h58 zend_llist headers; member in struct:__anon244
154 * operating on HTTP headers.
/PHP_5_3/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_3/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...]

Completed in 53 milliseconds