<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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6027 | 9년 전 | 288 | ||
| 6026 | 9년 전 | 250 | ||
| 6025 | 9년 전 | 211 | ||
| 6024 | 9년 전 | 380 | ||
| 6023 | 9년 전 | 255 | ||
| 6022 | 9년 전 | 264 | ||
| 6021 | 9년 전 | 247 | ||
| 6020 | 9년 전 | 230 | ||
| 6019 | 9년 전 | 194 | ||
| 6018 | 9년 전 | 184 | ||
| 6017 | 9년 전 | 215 | ||
| 6016 | 9년 전 | 205 | ||
| 6015 | 9년 전 | 177 | ||
| 6014 | 9년 전 | 139 | ||
| 6013 | 9년 전 | 232 | ||
| 6012 | 9년 전 | 180 | ||
| 6011 | 9년 전 | 201 | ||
| 6010 | 9년 전 | 186 | ||
| 6009 | 9년 전 | 247 | ||
| 6008 | 9년 전 | 155 | ||
| 6007 | 9년 전 | 168 | ||
| 6006 | 9년 전 | 220 | ||
| 6005 | 9년 전 | 186 | ||
| 6004 | 9년 전 | 254 | ||
| 6003 | 9년 전 | 236 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기