Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 25 of 159) sorted by relevance

1234567

/PHP-7.0/ext/openssl/tests/
H A Dopenssl_pkcs7_encrypt_basic.phpt19 $headers = array("test@test", "testing openssl_pkcs7_encrypt()");
24 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers));
25 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
30 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers));
31 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers));
32 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers));
33 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers));
34 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers));
36 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers));
37 …openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $headers));
H A Dopenssl_pkcs7_sign_basic.phpt16 $headers = array("test@test", "testing openssl_pkcs7_sign()");
21 var_dump(openssl_pkcs7_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)…
22 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $headers));
26 var_dump(openssl_pkcs7_sign($wrong, $outfile, $single_cert, $privkey, $headers));
27 var_dump(openssl_pkcs7_sign($empty, $outfile, $single_cert, $privkey, $headers));
28 var_dump(openssl_pkcs7_sign($infile, $empty, $single_cert, $privkey, $headers));
29 var_dump(openssl_pkcs7_sign($infile, $outfile, $wrong, $privkey, $headers));
30 var_dump(openssl_pkcs7_sign($infile, $outfile, $empty, $privkey, $headers));
32 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $wrong, $headers));
/PHP-7.0/ext/standard/tests/network/
H A Dsetcookie.phpt37 $headers = headers_list();
38 if (($i = count($expected)) > count($headers))
40 echo "Fewer headers are being sent than expected - aborting";
46 if (strncmp(current($headers), 'Set-Cookie:', 11) !== 0)
51 if (current($headers) === current($expected))
59 ."\n\tReceived: ".current($headers)."\n";
64 while (next($headers) !== FALSE);
/PHP-7.0/ext/standard/
H A Dmail.c105 zend_string *extra_cmd=NULL, *headers=NULL, *headers_trimmed=NULL; in PHP_FUNCTION() local
112 …"sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == F… in PHP_FUNCTION()
120 if (headers) { in PHP_FUNCTION()
121 MAIL_ASCIIZ_CHECK(ZSTR_VAL(headers), ZSTR_LEN(headers)); in PHP_FUNCTION()
122 headers_trimmed = php_trim(headers, NULL, 0, 2); in PHP_FUNCTION()
266 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) in php_mail() argument
277 char *hdr = headers; in php_mail()
283 if (hdr != headers) { \ in php_mail()
325 if (headers != NULL && *headers) { in php_mail()
326 …&hdr, 0, "X-PHP-Originating-Script: " ZEND_LONG_FMT ":%s\n%s", php_getuid(), ZSTR_VAL(f), headers); in php_mail()
H A Dphp_mail.h28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
/PHP-7.0/ext/standard/tests/streams/
H A Dbug71245.phpt5 $headers = ['Host: okey.com'];
10 'header' => &$headers,
18 $headers = ["Host: bad.com"];
/PHP-7.0/ext/soap/interop/
H A Dclient_round2_params.php442 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell…
454 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell…
466 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell…
478 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell…
491 $test->headers[] = new SoapHeader('http://unknown.org/echoheader/','echoMeStringRequest', 'hello wo…
508 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest',
525 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest',
542 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest',
557 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest',
575 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeUnknown', 'nobody und…
[all …]
/PHP-7.0/ext/iconv/tests/
H A Dbug52941.phpt2 Bug #52941 (The 'iconv_mime_decode_headers' function is skipping headers)
7 $headers = <<<HEADERS
15 $decoded = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR, 'UTF-8');
23 $decoded = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR | ICONV_MIME_DEC…
/PHP-7.0/win32/
H A Dsendmail.c224 if (headers) { in TSendMail()
266 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
291 if (headers) { in TSendMail()
310 if (headers) { in TSendMail()
386 char *headers, char *headers_lc, char **error_message) in SendText() argument
487 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
537 else if (headers) { in SendText()
542 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
580 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
593 if (headers && !stripped_header) { in SendText()
[all …]
/PHP-7.0/ext/standard/tests/general_functions/
H A Dhead.phpt36 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
45 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
48 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
H A Dheader_redirection_001.phpt2 Location: headers change the status code
/PHP-7.0/ext/standard/tests/mail/
H A Dmail_basic6.phpt31 // Calling mail() with all additional headers
41 // Calling mail() with all additional headers
52 // Calling mail() with all additional headers
63 // Calling mail() with all additional headers
73 // Calling mail() with all additional headers
83 // Calling mail() with all additional headers
93 // Calling mail() with all additional headers
103 // Calling mail() with all additional headers
113 // Calling mail() with all additional headers
123 // Calling mail() with all additional headers
[all …]
H A Dbug66535.phpt2 Bug #66535: Extra newline if add_x_header and no additional headers are used
19 echo "*** Testing mail() : send email without additional headers ***\n";
36 *** Testing mail() : send email without additional headers ***
H A Dbug69874.phpt19 echo "*** Testing mail() : send email without additional headers ***\n";
36 *** Testing mail() : send email without additional headers ***
H A Dbug69874_2.phpt19 echo "*** Testing mail() : send email without additional headers ***\n";
36 *** Testing mail() : send email without additional headers ***
H A Dmail_log.phpt25 $headers = "X-Test: 1";
30 var_dump(mail($to, $subject, $message, $headers));
/PHP-7.0/sapi/cli/tests/
H A Dbug64878.phpt13 $headers = get_headers('http://' . PHP_CLI_SERVER_ADDRESS);
14 echo count(array_filter($headers, function ($value) {
/PHP-7.0/tests/basic/
H A Drfc1867_garbled_mime_headers.phpt2 rfc1867 garbled mime headers
21 Warning: File Upload Mime headers garbled in %s
/PHP-7.0/ext/snmp/
H A Dconfig.w3214 WARNING("snmp not enabled; libraries and headers not found");
17 WARNING("snmp not enabled; libraries and headers not found");
/PHP-7.0/ext/mbstring/tests/
H A Dbug52861.phpt18 $headers = 'MIME-Version: 2.0';
20 mb_send_mail($to, mb_language(), "test", $headers);
/PHP-7.0/ext/pdo/
H A DMakefile.frag12 install-pdo-headers:
30 install: $(all_targets) $(install_targets) install-pdo-headers
/PHP-7.0/ext/curl/tests/
H A Dcurl_writeheader_callback.phpt7 … that the headers are sent to the callback specified for CURLOPT_HEADERFUNCTION. Different test se…
/PHP-7.0/Zend/tests/
H A Dunset_cv05.phpt23 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %…
25 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started …
/PHP-7.0/ext/session/tests/
H A Dsession_regenerate_id_cookie.phpt35 $headers = headers_list();
37 foreach ($headers as $h) {
43 var_dump($headers);
/PHP-7.0/sapi/apache2handler/
H A Dconfig.w3218 WARNING("Could not find apache2 libraries/headers");
37 WARNING("Could not find apache2.2 libraries/headers");
55 WARNING("Could not find apache 2.4 libraries/headers");

Completed in 44 milliseconds

1234567