Searched refs:header (Results 126 – 150 of 218) sorted by path
123456789
/PHP-7.4/ext/standard/tests/file/ |
H A D | fgets_variation1.phpt | 14 // include the header for common test function
|
H A D | fgets_variation2.phpt | 15 // include the header for common test function
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | bug60227_1.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR) 5 header("X-Foo1: a"); 6 header("X-Foo2: b\n "); 7 header("X-Foo3: c\r\n "); 8 header("X-Foo4: d\r "); 9 header("X-Foo5: e\rSet-Cookie: ID=123"); 13 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | bug60227_2.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n 8 header("X-foo: e\n foo"); 12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | bug60227_3.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), \0 before \n 8 header("X-Foo6: e\0Set-Cookie: ID=\n123\n d");
|
H A D | bug60227_4.phpt | 2 Bug #60227 (header() cannot detect the multi-line header with CR), CRLF 8 header("X-foo: e\r\nfoo"); 12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
|
H A D | bug71891.phpt | 7 echo 'header'; 14 header
|
H A D | head.phpt | 2 header() and friends 14 var_dump(header("HTTP 1.0", true, 200)); 19 var_dump(header("")); 20 var_dump(header("", true)); 23 var_dump(header("HTTP blah")); 24 var_dump(header("HTTP blah", true)); 36 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 D | header_redirection_001.phpt | 6 header('Location: http://example.com/');
|
H A D | header_redirection_002.phpt | 6 header("HTTP/1.1 418 I'm a Teapot"); 7 header('Location: http://example.com/');
|
H A D | header_redirection_003.phpt | 2 Location: headers respect the header() response code parameter 6 header('Location: http://example.com/', true, 404);
|
H A D | header_redirection_005.phpt | 6 header('HTTP/1.1 201 Created'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_006.phpt | 6 header('HTTP/1.1 300 Multiple Choices'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_007.phpt | 6 header('HTTP/1.1 301 Moved Permanently'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_008.phpt | 6 header('HTTP/1.1 302 Found'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_009.phpt | 6 header('HTTP/1.1 303 See Other'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_010.phpt | 6 header('HTTP/1.1 304 Not Modified'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_011.phpt | 6 header('HTTP/1.1 305 Use Proxy'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_012.phpt | 6 header('HTTP/1.1 307 Temporary Redirect'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_013.phpt | 6 header('HTTP/1.1 308 Permanent Redirect'); 7 header('Location: http://example.com/');
|
H A D | header_redirection_014.phpt | 6 header('HTTP/1.1 399 Choose Your Own Adventure'); 7 header('Location: http://example.com/');
|
/PHP-7.4/ext/standard/tests/http/ |
H A D | bug47021.phpt | 29 'header' => 'Connection: Close' 44 . "Content-Type\r\n" // Deliberately invalid header 68 // Trailing space at end of header
|
H A D | bug48929.phpt | 2 Bug #48929 (duplicate \r\n sent after last header line) 33 echo "-- Test: requests with 'header' as array --\n"; 35 do_test(array('header' => array('X-Foo: bar', 'Content-Type: text/plain'), 'method' => 'POST', 'con… 37 echo "-- Test: requests with 'header' as string --\n"; 39 do_test(array('header' => "X-Foo: bar\r\nContent-Type: text/plain", 'method' => 'POST', 'content' =… 43 -- Test: requests with 'header' as array -- 52 -- Test: requests with 'header' as string --
|
H A D | bug53198.phpt | 2 Bug #53198 (From: header cannot be changed with ini_set)
|
H A D | bug61548.phpt | 11 function do_test($header) { 15 'header' => $header,
|
Completed in 31 milliseconds
123456789