php-src/ext/standard/tests/file/bug41655_1.phpt

11 lines
252 B
Plaintext
Raw Normal View History

2007-06-22 12:35:41 +00:00
--TEST--
2007-06-25 17:10:14 +00:00
Bug #41655 (open_basedir bypass via glob())
2007-06-22 12:35:41 +00:00
--INI--
open_basedir=/tmp
--FILE--
<?php
$a=glob("./*.jpeg");
?>
--EXPECTF--
2007-06-25 21:24:44 +00:00
Warning: glob(): open_basedir restriction in effect. File%s.) is not within the allowed path(s): (/tmp) in %s on line %d