<html>
<head>
<title>::: 노글스 :::</title>
</head>
<body>
<input type=button onClick=chk() value="chk">
결과
<script>
var sHttp = new ActiveXObject("Microsoft.xmlhttp");
function httpGet(szURL) {
sHttp.open("get",szURL,false);
sHttp.setRequestHeader( "Content-type:", "application/x-www-form-urlencoded");
sHttp.setRequestHeader("Content-Encoding:", "euc-kr");
sHttp.onreadystatechange = onRetriveComplete;
try{
sHttp.send("code=tnt2");
}
catch(e) {
return ("Not exist");
}
if (sHttp.status > 200) {
return("not exist<br>");
} else
return(sHttp.responseText);
}
function onRetriveComplete() {
sHttp.onreadystatechange = noop; //re-entrant gate
if (sHttp.readyState == 4) {
}
}
function noop() {
return false;
}
function chk() {
getData=httpGet("http://www.phpschool.com/bbs2/inc_board.html");
document.noglsForm.test.value=getData;
}
</script>
<form name=noglsForm>
<textarea name=test rows=200 cols=200></textarea>
</form>
</body>
</html>
댓글 1개
게시판 목록
팁게시판
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5577 |
잘살아보자
|
11년 전 | 962 | |
| 5576 | 11년 전 | 1013 | ||
| 5575 |
잘살아보자
|
11년 전 | 1083 | |
| 5574 | 11년 전 | 810 | ||
| 5573 |
잘살아보자
|
11년 전 | 1843 | |
| 5572 |
잘살아보자
|
11년 전 | 3015 | |
| 5571 |
잘살아보자
|
11년 전 | 987 | |
| 5570 |
잘살아보자
|
11년 전 | 759 | |
| 5569 |
잘살아보자
|
11년 전 | 2697 | |
| 5568 | 11년 전 | 955 | ||
| 5567 | 11년 전 | 1416 | ||
| 5566 | 11년 전 | 826 | ||
| 5565 | 11년 전 | 1481 | ||
| 5564 |
잘살아보자
|
11년 전 | 1021 | |
| 5563 |
잘살아보자
|
11년 전 | 658 | |
| 5562 |
잘살아보자
|
11년 전 | 1261 | |
| 5561 |
잘살아보자
|
11년 전 | 1243 | |
| 5560 | 11년 전 | 905 | ||
| 5559 | 11년 전 | 1903 | ||
| 5558 | 11년 전 | 667 | ||
| 5557 | 11년 전 | 1081 | ||
| 5556 | 11년 전 | 1303 | ||
| 5555 | 11년 전 | 841 | ||
| 5554 | 11년 전 | 801 | ||
| 5553 | 11년 전 | 856 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기