Home
last modified time | relevance | path

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

12345678910>>...27

/PHP-5.4/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.4/tests/security/
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): (…
H A Dopen_basedir_symlink.phpt55 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li…
58 …estriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on li…
61 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li…
64 …estriction in effect. File(%s/test/symlink.txt) 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 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
73 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
76 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
79 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_rmdir.phpt32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path
38 …edir restriction in effect. File(../bad/../bad) is not within the allowed path(s): (.) in %s on li…
41 …basedir restriction in effect. File(./.././bad) is not within the allowed path(s): (.) in %s on li…
44 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
/PHP-5.4/ext/standard/tests/file/
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
H A Dfile_put_contents_variation6.phpt2 Test file_put_contents() function : variation - include path testing
41 // in the include path. In this case it doesn't so the file should be written in the current dir.
43 file_put_contents($filename, (binary) "File in include path", FILE_USE_INCLUDE_PATH);
54 File in include path. This was appended
55 File in include path. This was appended
/PHP-5.4/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));
H A Dsession_set_cookie_params_variation3.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah"));
25 var_dump(session_set_cookie_params(3600, "/path", "guff"));
29 var_dump(session_set_cookie_params(3600, "/path", "foo"));
H A Dsession_set_cookie_params_variation5.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, FALSE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, TRUE));
29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
/PHP-5.4/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.4/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.4/ext/standard/
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 …]
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()
146 if (path && path_len > 0) { in php_setcookie()
148 strlcat(cookie, path, len + 100); in php_setcookie()
175 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
181 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
186 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
198 char *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
204 &name_len, &value, &value_len, &expires, &path, in PHP_FUNCTION()
209 …if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, s… in PHP_FUNCTION()
/PHP-5.4/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 …]
/PHP-5.4/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.4/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.4/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.4/main/
H A Dphp_streams.h68 …m_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename… argument
79 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path)… argument
80 #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapp… argument
342 #define php_stream_stat_path(path, ssb) _php_stream_stat_path((path), 0, (ssb), NULL TSRMLS_CC) argument
343 #define php_stream_stat_path_ex(path, flags, ssb, context) _php_stream_stat_path((path), (flags), (… argument
346 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument
348 PHPAPI int _php_stream_rmdir(char *path, int options, php_stream_context *context TSRMLS_DC);
349 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context TSRMLS_CC) argument
352 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument
559 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (m… argument
[all …]
/PHP-5.4/ext/standard/tests/dir/
H A Dscandir_error2.phpt12 * Description: List files & directories inside the specified path
24 echo "\n-- Pass scandir() an absolute path that does not exist --\n";
27 echo "\n-- Pass scandir() a relative path that does not exist --\n";
34 -- Pass scandir() an absolute path that does not exist --
41 -- Pass scandir() a relative path that does not exist --

Completed in 61 milliseconds

12345678910>>...27