Lines Matching refs:url_to

1058 static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int op…  in php_plain_files_rename()  argument
1063 if (!url_from || !url_to) { in php_plain_files_rename()
1069 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1072 if (!php_win32_check_trailing_space(url_to, strlen(url_to))) { in php_plain_files_rename()
1073 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1082 if ((p = strstr(url_to, "://")) != NULL) { in php_plain_files_rename()
1083 url_to = p + 3; in php_plain_files_rename()
1086 if (php_check_open_basedir(url_from TSRMLS_CC) || php_check_open_basedir(url_to TSRMLS_CC)) { in php_plain_files_rename()
1090 ret = VCWD_RENAME(url_from, url_to); in php_plain_files_rename()
1097 if (php_copy_file(url_from, url_to TSRMLS_CC) == SUCCESS) { in php_plain_files_rename()
1100 if (VCWD_CHMOD(url_to, sb.st_mode)) { in php_plain_files_rename()
1102 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1106 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1109 if (VCWD_CHOWN(url_to, sb.st_uid, sb.st_gid)) { in php_plain_files_rename()
1111 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1115 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1123 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1130 php_win32_docref2_from_error(GetLastError(), url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1132 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()