Lines Matching refs:url_to
1170 …es_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_… in php_plain_files_rename() argument
1174 if (!url_from || !url_to) { in php_plain_files_rename()
1180 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1183 if (!php_win32_check_trailing_space(url_to, strlen(url_to))) { in php_plain_files_rename()
1184 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to); in php_plain_files_rename()
1193 if (strncasecmp(url_to, "file://", sizeof("file://") - 1) == 0) { in php_plain_files_rename()
1194 url_to += sizeof("file://") - 1; in php_plain_files_rename()
1197 if (php_check_open_basedir(url_from) || php_check_open_basedir(url_to)) { in php_plain_files_rename()
1201 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1213 if (php_copy_file(url_from, url_to) == SUCCESS) { in php_plain_files_rename()
1224 if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { in php_plain_files_rename()
1225 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1232 if (VCWD_CHMOD(url_to, sb.st_mode)) { in php_plain_files_rename()
1233 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1244 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1247 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1258 php_win32_docref2_from_error(GetLastError(), url_from, url_to); in php_plain_files_rename()
1260 php_error_docref2(NULL, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()