projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix includes
[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
session_start();
11
http_redirect('redirect', array('a' => 1), true);
12
?>
13
--EXPECTF--
14
Status: 302
15
Content-type: text/html
16
X-Powered-By: PHP/%s
17
Set-Cookie: PHPSESSID=%s; path=/
18
Expires: %s
19
Cache-Control: %s
20
Pragma: %s
21
Location: http://localhost/redirect?a=1&PHPSESSID=%s