mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
5c7e3ba791
- CGI does not read commandline options when it sees REQUES_METHOD - errors are shown two times now, to be checked post RC3
31 lines
624 B
PHP
31 lines
624 B
PHP
--TEST--
|
|
GET/POST/REQUEST Test with filtered data
|
|
--SKIPIF--
|
|
<?php
|
|
/* CGI doesn't read commandline options when it sees REQUES_METHOD */
|
|
die("skip");
|
|
die("not possible to set ini setting using -d and CGI");
|
|
?>
|
|
--INI--
|
|
filter.default=special_chars
|
|
--POST--
|
|
d="quotes"&e=\slash
|
|
--GET--
|
|
a=O'Henry&b=&c=<b>Bold</b>
|
|
--FILE--
|
|
<?php echo $_GET['a'];
|
|
echo $_GET['b'];
|
|
echo $_GET['c'];
|
|
echo $_POST['d'];
|
|
echo $_POST['e'];
|
|
echo "\n";
|
|
echo $_REQUEST['a'];
|
|
echo $_REQUEST['b'];
|
|
echo $_REQUEST['c'];
|
|
echo $_REQUEST['d'];
|
|
echo $_REQUEST['e'];
|
|
?>
|
|
--EXPECT--
|
|
O'HenryBold"quotes"\slash
|
|
O'HenryBold"quotes"\slash
|