Searched refs:new_path (Results 1 - 3 of 3) sorted by relevance
| /PHP_5_5/win32/ |
| H A D | registry.c | 131 char *new_path = (char*)emalloc(path_len+max_key+2); local 141 memcpy(new_path, path, path_len); 142 new_path[path_len] = '/'; 143 memcpy(new_path+path_len+1, name, name_len+1); 144 zend_str_tolower(new_path, path_len+name_len+1); 147 memcpy(new_path, name, name_len+1); 148 zend_str_tolower(new_path, name_len); 150 if (LoadDirectory(directories, subkey, new_path, name_len, ht)) { 157 efree(new_path);
|
| /PHP_5_5/ext/standard/ |
| H A D | http_fopen_wrapper.c | 800 char new_path[HTTP_HEADER_BLOCK_SIZE]; local 803 *new_path='\0'; 834 snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource->port, loc_path); 836 snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path); 839 strlcpy(new_path, location, sizeof(new_path)); 844 if ((resource = php_url_parse(new_path)) == NULL) { 845 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path); [all...] |
| H A D | basic_functions.c | 848 ZEND_ARG_INFO(0, new_path) 5813 /* {{{ proto bool move_uploaded_file(string path, string new_path) 5817 char *path, *new_path; local 5829 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, &path_len, &new_path, &new_path_len) == FAILURE) { 5837 if (php_check_open_basedir(new_path TSRMLS_CC)) { 5841 if (VCWD_RENAME(path, new_path) == 0) { 5847 ret = VCWD_CHMOD(new_path, 0666 & ~oldmask); 5853 } else if (php_copy_file_ex(path, new_path, STREAM_DISABLE_OPEN_BASEDIR TSRMLS_CC) == SUCCESS) { 5861 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to move '%s' to '%s'", path, new_path);
|
Completed in 15 milliseconds