<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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5902 | 9년 전 | 298 | ||
| 5901 | 9년 전 | 316 | ||
| 5900 | 9년 전 | 317 | ||
| 5899 | 9년 전 | 789 | ||
| 5898 | 9년 전 | 273 | ||
| 5897 | 9년 전 | 286 | ||
| 5896 | 9년 전 | 199 | ||
| 5895 | 9년 전 | 730 | ||
| 5894 | 9년 전 | 352 | ||
| 5893 | 9년 전 | 341 | ||
| 5892 | 9년 전 | 397 | ||
| 5891 | 9년 전 | 399 | ||
| 5890 | 9년 전 | 450 | ||
| 5889 | 9년 전 | 316 | ||
| 5888 | 9년 전 | 208 | ||
| 5887 | 9년 전 | 298 | ||
| 5886 | 9년 전 | 238 | ||
| 5885 | 9년 전 | 252 | ||
| 5884 | 9년 전 | 236 | ||
| 5883 | 9년 전 | 260 | ||
| 5882 | 9년 전 | 278 | ||
| 5881 | 9년 전 | 310 | ||
| 5880 | 9년 전 | 221 | ||
| 5879 | 9년 전 | 243 | ||
| 5878 | 9년 전 | 416 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기