/PHP-5.6/ext/session/tests/ |
H A D | session_set_cookie_params_variation2.phpt | 4 session.cookie_path=/path 13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo… 37 string(5) "/path"
|
H A D | session_save_path_variation5.phpt | 17 * Prototype : string session_save_path([string $path]) 18 * Description : Get and/or set the current session save path 51 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
|
/PHP-5.6/ext/standard/ |
H A D | php_fopen_wrappers.h | 26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mod… 27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode…
|
H A D | http_fopen_wrapper.c | 152 resource = php_url_parse(path); in php_stream_url_wrap_http_ex() 380 scratch_len = strlen(path) + 29 + protocol_version_len; in php_stream_url_wrap_http_ex() 399 strcat(scratch, path); in php_stream_url_wrap_http_ex() 404 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex() 405 strlcat(scratch, resource->path, scratch_len); in php_stream_url_wrap_http_ex() 857 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex() 858 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex() 860 s = resource->path; in php_stream_url_wrap_http_ex() 863 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex() 869 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/PHP-5.6/sapi/aolserver/ |
H A D | config.m4 | 6 [ --with-aolserver=DIR Specify path to the installed AOLserver], no, no) 15 …AC_MSG_ERROR(Please specify the path to the source distribution of AOLserver using --with-aolserve… 18 AC_MSG_ERROR(Please specify the path to the root of AOLserver using --with-aolserver=DIR)
|
/PHP-5.6/ext/pcre/ |
H A D | upgrade-pcre.php | 32 function recurse($path) argument 36 foreach (scandir($path) as $file) { 44 $file = "$path/$file";
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | bug60455_03.phpt | 9 function stream_open($path, $mode, $options, &$opened_path) { 11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 12 if ($path == "test://eofafter2nd")
|
H A D | stream_get_meta_data_file_variation4.phpt | 2 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.6/ext/standard/tests/file/ |
H A D | userstreams_007.phpt | 6 function stream_open($path, $mode, $openedpath) { 9 public function stream_metadata($path, $option, $var) { 10 echo "metadata: $path, $option\n";
|
H A D | dirname_basic.phpt | 12 /* 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 D | basename-win32.phpt | 14 * 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 D | readfile_variation6.phpt | 2 Test readfile() function : variation - test include path 38 fwrite($h, "File in include path"); 49 File in include path
|
H A D | file_get_contents_variation1.phpt | 2 Test file_get_contents() function : variation - include path testing 39 fwrite($h, "File in include path"); 50 File in include path
|
/PHP-5.6/sapi/nsapi/ |
H A D | nsapi-readme.txt | 13 <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.6/ext/phar/ |
H A D | stream.c | 89 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() 721 internal_file = estrdup(resource->path + 1); in phar_wrapper_unlink() 855 …if (SUCCESS == zend_hash_find(&(phar->manifest), resource_from->path+1, strlen(resource_from->path… in phar_wrapper_rename() 877 entry->filename = estrdup(resource_to->path+1); in phar_wrapper_rename() 891 …ir = zend_hash_exists(&(phar->virtual_dirs), resource_from->path+1, strlen(resource_from->path)-1); in phar_wrapper_rename() 908 uint from_len = strlen(resource_from->path+1); in phar_wrapper_rename() 909 uint to_len = strlen(resource_to->path+1); in phar_wrapper_rename() 923 memcpy(new_str_key, resource_to->path + 1, to_len); in phar_wrapper_rename() [all …]
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapi_main.c | 771 int len = (int)strlen(path); in pathlen_without_trailing_slash() 773 path[len-1] == DEFAULT_SLASH) in pathlen_without_trailing_slash() 836 char *path; member 860 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks() 881 char *path; in lsapi_activate_user_ini_mk_path() local 886 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path() 887 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path() 888 if (!path) in lsapi_activate_user_ini_mk_path() 897 efree(path); in lsapi_activate_user_ini_mk_path() 917 ctx->path = real_path; in lsapi_activate_user_ini_mk_realpath() [all …]
|
/PHP-5.6/main/streams/ |
H A D | streams.c | 175 char *tmp = estrdup(path); in php_stream_display_wrapper_errors() 1765 *path_for_open = (char*)path; 1777 protocol = path; 1813 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') { 1815 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') { 1972 if (!path || !*path) { 1976 path_to_open = path; 2028 if (!path || !*path) { 2034 resolved_path = zend_resolve_path(path, strlen(path) TSRMLS_CC); 2036 path = resolved_path; [all …]
|
/PHP-5.6/Zend/ |
H A D | zend_extensions.c | 27 int zend_load_extension(const char *path) in zend_load_extension() argument 34 handle = DL_LOAD(path); in zend_load_extension() 37 fprintf(stderr, "Failed loading %s: %s\n", path, DL_ERROR()); in zend_load_extension() 43 fprintf(stderr, "Failed loading %s\n", path); in zend_load_extension() 57 fprintf(stderr, "%s doesn't appear to be a valid Zend extension\n", path); in zend_load_extension()
|
/PHP-5.6/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 32 …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.6/tests/run-test/ |
H A D | test007.phpt | 10 function check_dirname($path) { 12 $path1 = str_replace("%",$s,$path); 15 print "dirname($path) == $path3\n";
|
/PHP-5.6/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.6/ext/spl/examples/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-5.6/ext/standard/tests/url/ |
H A D | bug68917.phpt | 13 [path] => /hi 20 [path] => /hi
|
/PHP-5.6/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
/PHP-5.6/ext/zlib/tests/ |
H A D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|