<HTML>
<HEAD>
<META NAME="Author" CONTENT="JASKO">
<SCRIPT LANGUAGE="JavaScript">
<!--
extArray = new Array(".gif", ".jpg", ".png");
function LimitAttach(form, file) {
allowSubmit = false;
if (!file) return;
while (file.indexOf("") != -1)
file = file.slice(file.indexOf("") + 1);
ext = file.slice(file.indexOf(".")).toLowerCase();
for (var i = 0; i < extArray.length; i++) {
if (extArray[i] == ext) { allowSubmit = true; break; }
}
if (allowSubmit) form.submit();
else
alert("아래 형태의 파일만 업로드 할 수 있습니다: "
+ (extArray.join(" ")) + "n다시 선택 해 주세요");
}
//-->
</script>
</HEAD>
<BODY>
<center>
아래 파일들만 업로드 할 수 있습니다
<script>
document.write(extArray.join(" "));
</script>
<p>
<form method=post name=upform action="../../result,html" enctype="multipart/form-data">
<input type=file name=uploadfile>
<p>
<input type=button name="Submit" value=" 전송 " onclick="LimitAttach(this.form, this.form.uploadfile.value)">
</form>
</center>
</BODY>
</HTML>
게시판 목록
팁게시판
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6077 | 9년 전 | 151 | ||
| 6076 |
PlayPixel
|
9년 전 | 142 | |
| 6075 | 9년 전 | 159 | ||
| 6074 | 9년 전 | 214 | ||
| 6073 |
|
9년 전 | 177 | |
| 6072 |
|
9년 전 | 320 | |
| 6071 | 9년 전 | 221 | ||
| 6070 |
|
9년 전 | 258 | |
| 6069 | 9년 전 | 235 | ||
| 6068 |
|
9년 전 | 185 | |
| 6067 | 9년 전 | 193 | ||
| 6066 |
|
9년 전 | 313 | |
| 6065 |
PASKRAN
|
9년 전 | 201 | |
| 6064 | 9년 전 | 230 | ||
| 6063 |
kiplayer
|
9년 전 | 333 | |
| 6062 |
|
9년 전 | 271 | |
| 6061 | 9년 전 | 209 | ||
| 6060 |
|
9년 전 | 262 | |
| 6059 |
|
9년 전 | 207 | |
| 6058 |
|
9년 전 | 201 | |
| 6057 | 9년 전 | 250 | ||
| 6056 |
|
9년 전 | 201 | |
| 6055 |
|
9년 전 | 247 | |
| 6054 |
|
9년 전 | 226 | |
| 6053 |
snshero
|
9년 전 | 571 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기