projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- improve logging format
[m6w6/ext-http]
/
tests
/
redirect_002.phpt
1
--TEST--
2
http_redirect() with session
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--FILE--
9
<?php
10
include 'log.inc';
11
log_prepare(_REDIR_LOG);
12
session_start();
13
http_redirect('redirect', array('a' => 1), true);
14
?>
15
--EXPECTF--
16
Status: 302
17
Content-type: text/html
18
X-Powered-By: PHP/%s
19
Set-Cookie: PHPSESSID=%s; path=/
20
Expires: %s
21
Cache-Control: %s
22
Pragma: %s
23
Location: http://localhost/redirect?a=1&PHPSESSID=%s