Lines Matching refs:url_from
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()
1068 if (!php_win32_check_trailing_space(url_from, strlen(url_from))) { 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()
1073 php_win32_docref2_from_error(ERROR_INVALID_NAME, url_from, url_to TSRMLS_CC); in php_plain_files_rename()
1078 if ((p = strstr(url_from, "://")) != NULL) { in php_plain_files_rename()
1079 url_from = 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()
1098 if (VCWD_STAT(url_from, &sb) == 0) { 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()
1103 VCWD_UNLINK(url_from); 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()
1111 php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno)); in php_plain_files_rename()
1112 VCWD_UNLINK(url_from); 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()
1119 VCWD_UNLINK(url_from); 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()