Home
last modified time | relevance | path

Searched refs:path (Results 101 – 125 of 678) sorted by relevance

12345678910>>...28

/PHP-5.5/ext/standard/tests/file/
H A Dfile_variation5.phpt23 echo "file() on a path containing .. and .\n";
26 echo "\nfile() on a path containing .. with invalid directories\n";
35 echo "\nfile() on a relative path from a different working directory\n";
46 file() on a path containing .. and .
58 file() on a path containing .. with invalid directories
84 file() on a relative path from a different working directory
H A Dfseek_dir_basic.phpt9 $path = dirname(__FILE__) . '/fseek_dir_basic';
10 mkdir($path);
11 create_files($path, 3);
14 var_dump($dh = opendir($path));
38 delete_files($path, 3);
40 var_dump(rmdir($path));
H A Dchmod_variation2-win32.phpt24 echo "chmod() on a path containing .. and .\n";
30 echo "\nchmod() on a path containing .. with invalid directories\n";
36 echo "\nchmod() on a relative path from a different working directory\n";
56 chmod() on a path containing .. and .
61 chmod() on a path containing .. with invalid directories
66 chmod() on a relative path from a different working directory
H A Dfile_put_contents_variation4.phpt2 Test file_put_contents() function : variation - include path testing
39 // in the include path. In this case it doesn't so the file should be written in the current dir.
40 file_put_contents($filename, (binary) "File in include path", FILE_USE_INCLUDE_PATH);
49 File in include path
50 File in include path
H A Dsymlink_to_symlink.phpt2 symlink() using a relative path, and symlink() to a symlink
18 // symlink to a symlink using a relative path
21 // symlink to a non-existent path
25 // symlink to a regular file using an absolute path
28 // symlink to a symlink using an absolute path
/PHP-5.5/tests/security/
H A Dopen_basedir_chdir.phpt32 Warning: chdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
38 Warning: chdir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
41 Warning: chdir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
44 Warning: chdir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
47 Warning: chdir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_touch.phpt41 Warning: touch(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
44 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: touch(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
50 Warning: touch(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
53 Warning: touch(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
56 Warning: touch(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
59 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
62 Warning: touch(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_chmod.phpt43 Warning: chmod(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
46 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
49 Warning: chmod(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
52 Warning: chmod(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
55 Warning: chmod(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
58 Warning: chmod(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
61 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
64 Warning: chmod(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_link.phpt49 …striction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s): (.) in %s on li…
52 …r restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): (.) in %s on li…
55 …striction in effect. File(%s/test/bad/link.txt) is not within the allowed path(s): (.) in %s on li…
58 …r restriction in effect. File(%s/test/link.txt) is not within the allowed path(s): (.) in %s on li…
61 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
64 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
70 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
73 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_tempnam.phpt48 Warning: tempnam(): open_basedir restriction in effect. File(../bad) is not within the allowed path
51 Warning: tempnam(): open_basedir restriction in effect. File(..) is not within the allowed path(s):…
54 Warning: tempnam(): open_basedir restriction in effect. File(../) is not within the allowed path(s)…
57 Warning: tempnam(): open_basedir restriction in effect. File(/) is not within the allowed path(s): …
60 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
63 Warning: tempnam(): open_basedir restriction in effect. File(./../.) is not within the allowed path
66 Warning: tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (…
/PHP-5.5/ext/standard/tests/dir/
H A Dreaddir_error.phpt20 $path = dirname(__FILE__) . "/readdir_error";
21 mkdir($path);
22 $dir_handle = opendir($path);
33 $path = dirname(__FILE__) . "/readdir_error";
34 rmdir($path);
/PHP-5.5/main/streams/
H A Dmemory.c623 path += 5; in php_stream_url_wrap_rfc2397()
624 dlen = strlen(path); in php_stream_url_wrap_rfc2397()
626 if (dlen >= 2 && path[0] == '/' && path[1] == '/') { in php_stream_url_wrap_rfc2397()
628 path += 2; in php_stream_url_wrap_rfc2397()
636 if (comma != path) { in php_stream_url_wrap_rfc2397()
638 mlen = comma - path; in php_stream_url_wrap_rfc2397()
654 plen = semi - path; in php_stream_url_wrap_rfc2397()
657 path += plen; in php_stream_url_wrap_rfc2397()
665 path++; in php_stream_url_wrap_rfc2397()
682 plen = sep - path; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-5.5/ext/session/tests/
H A Dbug32330.phpt16 function sOpen($path, $name)
18 echo "open: path = {$path}, name = {$name}\n";
71 open: path = /tmp, name = sid
76 open: path = /tmp, name = sid
81 open: path = /tmp, name = sid
H A Dsession_save_path_variation4.phpt16 * Prototype : string session_save_path([string $path])
17 * Description : Get and/or set the current session save path
54 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
57 …): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on li…
59 Fatal error: session_start(): Failed to initialize storage module: files (path: ) in %s on line %d
H A Dsession_set_cookie_params_variation4.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE));
29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
/PHP-5.5/ext/phar/
H A Dshortarc.php175 foreach ($info['m'] as $path => $file) {
176 $a = !file_exists(dirname($temp . '/' . $path));
177 @mkdir(dirname($temp . '/' . $path), 0777, true);
180 if ($path[strlen($path) - 1] == '/') {
181 @mkdir($temp . '/' . $path, 0777);
183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
184 @chmod($temp . '/' . $path, 0666);
245 static function extractFile($path, $entry, $fp) argument
/PHP-5.5/win32/
H A Dwinutil.c37 int php_win32_check_trailing_space(const char * path, const int path_len) { in php_win32_check_trailing_space() argument
41 if (path) { in php_win32_check_trailing_space()
42 if (path[0] == ' ' || path[path_len - 1] == ' ') { in php_win32_check_trailing_space()
/PHP-5.5/ext/xmlwriter/tests/
H A Dbug48204.phpt7 $path = str_repeat('a', PHP_MAXPATHLEN + 1);
8 var_dump(xmlwriter_open_uri('file:///' . $path));
16 Warning: xmlwriter_open_uri(): Unable to resolve file path in %s on line %d
/PHP-5.5/ext/sockets/tests/
H A Dsocket_cmsg_credentials.phpt13 $path = __DIR__ . "/unix_sock";
14 @unlink($path);
19 $path = __DIR__ . "/unix_sock";
21 @unlink($path);
31 $br = socket_bind($s, $path) or die("err");
40 $r = socket_sendto($sends1, $msg = "dread", strlen($msg), 0, $path);
/PHP-5.5/ext/standard/
H A Dhead.c76 …ar *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char… in php_setcookie() argument
104 if (path) { in php_setcookie()
151 if (path && path_len > 0) { in php_setcookie()
153 strlcat(cookie, path, len + 100); in php_setcookie()
180 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
186 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
191 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
203 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
209 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
214 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
H A Dftp_fopen_wrapper.c143 resource = php_url_parse(path); in php_ftp_fopen_connect()
724 …php_stream_printf(stream TSRMLS_CC, "NLST %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_opendir()
815 …php_stream_printf(stream TSRMLS_CC, "SIZE %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_url_stat()
830 …php_stream_printf(stream TSRMLS_CC, "MDTM %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_url_stat()
921 if (resource->path == NULL) { in php_stream_ftp_unlink()
929 …php_stream_printf(stream TSRMLS_CC, "DELE %s\r\n", (resource->path != NULL ? resource->path : "/")… in php_stream_ftp_unlink()
979 !resource_from->path || in php_stream_ftp_rename()
980 !resource_to->path) { in php_stream_ftp_rename()
1050 if (resource->path == NULL) { in php_stream_ftp_mkdir()
1064 buf = estrdup(resource->path); in php_stream_ftp_mkdir()
[all …]
/PHP-5.5/ext/spl/tests/
H A Dfileobject_005.phpt11 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
12 touch($path);
31 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
32 unlink($path);
/PHP-5.5/ext/phar/phar/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.5/ext/spl/examples/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.5/ext/exif/
H A Dtest.txt65 //error_log("search_file($root,$path)",0);
66 if ($dir = @opendir($root.$path.'/')) {
88 //error_log("search_file($root$path) add:$path/$found",0);
118 $path = $argv[1];
120 $path = $_SERVER['SCRIPT_FILENAME'];
121 //error_log("SCRIPT_FILENAME($path)",0);
123 $path = $argv[0];
124 //error_log("argv($path)",0);
126 if ( ($p=strpos($path,'?')) !== false) $path = substr($path,0,$p);
127 if ( ($p=strrpos($path,'/')) /*< strlen($path)-1*/) $path = substr($path,0,$p);
[all …]

Completed in 55 milliseconds

12345678910>>...28