0
나는 다음과 같은 형식이 : 내가 의도 한대로PHP 업로드 파일 스크립트는 ASP에서 transcipted
$target_path = "uploads/";
$target_path = $target_path . basename($HTTP_POST_FILES['uploadedfile']['name']);
if(copy($HTTP_POST_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "The file ". basename($_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
: 파일이 업로드 된 uploader.php에 대한
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>
을, 여기에 코드입니다 이 코드를 IIS로 옮기려면 uploader.php 코드를 다시 작성하여 ASP로 변환하여 'uploader.asp'로 작업 양식을 변경할 수 있습니까? 불가능할 경우 웹 서비스로 어떻게 할 수 있습니까?
당신도 '폼/업로드'콘텐츠 관련 ASP 검색을 시도하는 경우안부
[user deleted text] – horatio