Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
--TEST--
gh-issue #93: message body add form ignores numeric indices
--SKIPIF--
--FILE--
addForm(
array("foo", "bar", "baz"),
array(
array(
"file" => __FILE__,
"name" => "upload",
"type" => "text/plain",
),
"dir" => array(
array(
"file" => __FILE__,
"name" => 1,
"type" => "text/plain",
),
array(
"file" => __FILE__,
"name" => 2,
"type" => "text/plain",
),
),
)
);
echo $temp;
?>
DONE
--EXPECTF--
Test
--%x.%x
Content-Disposition: form-data; name="0"
foo
--%x.%x
Content-Disposition: form-data; name="1"
bar
--%x.%x
Content-Disposition: form-data; name="2"
baz
--%x.%x
Content-Disposition: form-data; name="upload"; filename="gh-issue92.php"
Content-Transfer-Encoding: binary
Content-Type: text/plain
addForm(
array("foo", "bar", "baz"),
array(
array(
"file" => __FILE__,
"name" => "upload",
"type" => "text/plain",
),
"dir" => array(
array(
"file" => __FILE__,
"name" => 1,
"type" => "text/plain",
),
array(
"file" => __FILE__,
"name" => 2,
"type" => "text/plain",
),
),
)
);
echo $temp;
?>
DONE
--%x.%x
Content-Disposition: form-data; name="dir[1]"; filename="gh-issue92.php"
Content-Transfer-Encoding: binary
Content-Type: text/plain
addForm(
array("foo", "bar", "baz"),
array(
array(
"file" => __FILE__,
"name" => "upload",
"type" => "text/plain",
),
"dir" => array(
array(
"file" => __FILE__,
"name" => 1,
"type" => "text/plain",
),
array(
"file" => __FILE__,
"name" => 2,
"type" => "text/plain",
),
),
)
);
echo $temp;
?>
DONE
--%x.%x
Content-Disposition: form-data; name="dir[2]"; filename="gh-issue92.php"
Content-Transfer-Encoding: binary
Content-Type: text/plain
addForm(
array("foo", "bar", "baz"),
array(
array(
"file" => __FILE__,
"name" => "upload",
"type" => "text/plain",
),
"dir" => array(
array(
"file" => __FILE__,
"name" => 1,
"type" => "text/plain",
),
array(
"file" => __FILE__,
"name" => 2,
"type" => "text/plain",
),
),
)
);
echo $temp;
?>
DONE
--%x.%x--
DONE