Home
last modified time | relevance | path

Searched refs:path (Results 151 – 175 of 576) sorted by relevance

12345678910>>...24

/PHP-5.3/ext/standard/tests/streams/
H A Dbug60455_03.phpt9 function stream_open($path, $mode, $options, &$opened_path) {
11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
12 if ($path == "test://eofafter2nd")
H A Dstream_get_meta_data_file_variation4.phpt2 stream_get_meta_data() with a relative file path
14 echo "\nChange to file's directory and open with a relative path:\n";
51 Change to file's directory and open with a relative path:
/PHP-5.3/sapi/nsapi/
H A Dnsapi-readme.txt13 <path-to-netscape-server>/https-servername/start
18 <path-to-server>/https-servername/config
27 <path-to-server>/https-servername/config/obj.conf (for servers < 6) or
29 <path-to-server>/https-servername/config/magnus.conf file:
31 … Init fn="load-modules" funcs="php5_init,php5_execute,php5_auth_trans" shlib="/path/to/phplibrary"
32 Init fn=php5_init errorString="Failed to initialize PHP!" [php_ini="/path/to/php.ini"]
36 Unix: "<path-to-server>/bin/libphp5.so".
37 Windows: "c:/path/to/php5/php5nsapi.dll"
49 # directive, e.g. doc_root="/path"
94 <Object ppath="d:\path\to\authenticated\dir\*">
[all …]
/PHP-5.3/ext/phar/
H A Dstream.c89 resource->path = entry; in phar_parse_url()
98 fprintf(stderr, "Path: %s\n", resource->path); in phar_parse_url()
191 internal_file = estrdup(resource->path + 1); in phar_wrapper_open_url()
729 internal_file = estrdup(resource->path + 1); in phar_wrapper_unlink()
863 …if (SUCCESS == zend_hash_find(&(phar->manifest), resource_from->path+1, strlen(resource_from->path in phar_wrapper_rename()
885 entry->filename = estrdup(resource_to->path+1); in phar_wrapper_rename()
899 …ir = zend_hash_exists(&(phar->virtual_dirs), resource_from->path+1, strlen(resource_from->path)-1); in phar_wrapper_rename()
917 uint from_len = strlen(resource_from->path+1); in phar_wrapper_rename()
918 uint to_len = strlen(resource_to->path+1); in phar_wrapper_rename()
934 memcpy(new_str_key, resource_to->path + 1, to_len); in phar_wrapper_rename()
[all …]
/PHP-5.3/ext/standard/tests/file/
H A Ddirname_basic.phpt12 /* Prototype : string dirname(string path)
13 * Description: Returns the directory name component of the path
55 foreach ($paths as $path) {
56 var_dump( dirname($path) );
H A Dbasename-win32.phpt14 * proto string basename(string path [, string suffix])
90 /* path with spaces */
102 foreach ($path_arrays as $path) {
104 if( 1 == count($path) ) { // no suffix provided
105 var_dump( basename($path[0]) );
106 } else { // path as well as suffix provided,
107 var_dump( basename($path[0], $path[1]) );
115 echo "\n*** Testing possible variations in path and suffix ***\n";
215 *** Testing possible variations in path and suffix ***
H A Dreadfile_variation6.phpt2 Test readfile() function : variation - test include path
38 fwrite($h, "File in include path");
49 File in include path
H A Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
39 fwrite($h, "File in include path");
50 File in include path
H A Ddirname_basic-win32.phpt12 /* Prototype : string dirname(string path)
13 * Description: Returns the directory name component of the path
55 foreach ($paths as $path) {
56 var_dump( dirname($path) );
/PHP-5.3/tests/security/
H A Dopen_basedir_file_put_contents.phpt32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
37 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
42 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
52 …restriction in effect. File%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
/PHP-5.3/tests/run-test/
H A Dtest007.phpt10 function check_dirname($path) {
12 $path1 = str_replace("%",$s,$path);
15 print "dirname($path) == $path3\n";
/PHP-5.3/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.3/ext/spl/examples/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-5.3/ext/standard/
H A Dhttp_fopen_wrapper.c124 resource = php_url_parse(path); in php_stream_url_wrap_http_ex()
345 scratch_len = strlen(path) + 29 + protocol_version_len; in php_stream_url_wrap_http_ex()
364 strcat(scratch, path); in php_stream_url_wrap_http_ex()
369 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex()
370 strlcat(scratch, resource->path, scratch_len); in php_stream_url_wrap_http_ex()
808 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex()
809 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex()
811 s = resource->path; in php_stream_url_wrap_http_ex()
814 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex()
820 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex()
[all …]
H A Dfilestat.c152 if (func(path, in php_disk_total_space()
165 if (GetDiskFreeSpace(path, in php_disk_total_space()
186 char drive = path[0] & 95;
206 if (statvfs(path, &buf)) {
217 if (statfs(path, &buf)) {
236 char *path; in PHP_FUNCTION() local
284 if (func(path, in php_disk_free_space()
318 char drive = path[0] & 95;
338 if (statvfs(path, &buf)) {
348 if (statfs(path, &buf)) {
[all …]
/PHP-5.3/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
H A Dphar_setdefaultstub.phpt236 if ($path[strlen($path) - 1] == '/') {
237 @mkdir($temp . '/' . $path, 0777);
239 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
240 @chmod($temp . '/' . $path, 0666);
531 if ($path[strlen($path) - 1] == '/') {
532 @mkdir($temp . '/' . $path, 0777);
534 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
535 @chmod($temp . '/' . $path, 0666);
826 if ($path[strlen($path) - 1] == '/') {
827 @mkdir($temp . '/' . $path, 0777);
[all …]
H A Dphar_createdefaultstub.phpt216 if ($path[strlen($path) - 1] == '/') {
217 @mkdir($temp . '/' . $path, 0777);
219 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
220 @chmod($temp . '/' . $path, 0666);
510 if ($path[strlen($path) - 1] == '/') {
511 @mkdir($temp . '/' . $path, 0777);
513 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
514 @chmod($temp . '/' . $path, 0666);
812 if ($path[strlen($path) - 1] == '/') {
813 @mkdir($temp . '/' . $path, 0777);
[all …]
/PHP-5.3/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/PHP-5.3/ext/session/tests/
H A Dsession_save_path_variation5.phpt19 * Prototype : string session_save_path([string $path])
20 * Description : Get and/or set the current session save path
53 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
/PHP-5.3/ext/standard/tests/strings/
H A Ddirname_basic.phpt5 /* Prototype: string dirname ( string $path );
6 Description: Returns directory name component of path.
20 /* path with only files and trailing slashes*/
31 /* path with file extension and trailing slashes */
/PHP-5.3/ext/dba/
H A Ddba_qdbm.c46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
/PHP-5.3/scripts/
H A Dphpize.in87 Invalid source path '$phpdir'. Whitespace is not allowed in source path.
96 Invalid build path '$builddir'. Whitespace is not allowed in build path.
/PHP-5.3/ext/standard/tests/dir/
H A Ddir_variation9.phpt19 * have valid and invalid relative path.
50 // open the directory with invalid path
80 ["path"]=>
86 ["path"]=>
92 ["path"]=>
98 ["path"]=>
/PHP-5.3/ext/posix/
H A Dposix.c836 char *path; in PHP_FUNCTION() local
845 if (strlen(path) != path_len) { in PHP_FUNCTION()
854 result = mkfifo(path, mode); in PHP_FUNCTION()
870 char *path; in PHP_FUNCTION() local
884 if (strlen(path) != path_len) { in PHP_FUNCTION()
911 result = mknod(path, mode, php_dev); in PHP_FUNCTION()
962 char *filename, *path; in PHP_FUNCTION() local
973 if (!path) { in PHP_FUNCTION()
980 efree(path); in PHP_FUNCTION()
985 ret = access(path, mode); in PHP_FUNCTION()
[all …]

Completed in 46 milliseconds

12345678910>>...24