Searched refs:new_path (Results 1 - 3 of 3) sorted by relevance

/PHP_5_5/win32/
H A Dregistry.c131 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 Dhttp_fopen_wrapper.c802 char new_path[HTTP_HEADER_BLOCK_SIZE]; local
805 *new_path='\0';
836 snprintf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource->port, loc_path);
838 snprintf(new_path, sizeof(new_path) - 1, "%s://%s%s", resource->scheme, resource->host, loc_path);
841 strlcpy(new_path, location, sizeof(new_path));
846 if ((resource = php_url_parse(new_path)) == NULL) {
847 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Invalid redirect URL! %s", new_path);
[all...]
H A Dbasic_functions.c848 ZEND_ARG_INFO(0, new_path)
5814 /* {{{ proto bool move_uploaded_file(string path, string new_path)
5818 char *path, *new_path; local
5830 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &path, &path_len, &new_path, &new_path_len) == FAILURE) {
5838 if (php_check_open_basedir(new_path TSRMLS_CC)) {
5842 if (VCWD_RENAME(path, new_path) == 0) {
5848 ret = VCWD_CHMOD(new_path, 0666 & ~oldmask);
5854 } else if (php_copy_file_ex(path, new_path, STREAM_DISABLE_OPEN_BASEDIR TSRMLS_CC) == SUCCESS) {
5862 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to move '%s' to '%s'", path, new_path);

Completed in 11 milliseconds