ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î


À¥ ¹®¼­ ¾Ïȣȭ ½ºÅ©¸³Æ®
16³â Àü
String ¿Í form °´Ã¼¸¦ ÀÌ¿ëÇÑ ¾Ïȣȭ ¼Ò½º
»õ ÆäÀÌÁö 1

<html>
<head>
<title>
String ¿Í form °´Ã¼¸¦ ÀÌ¿ëÇÑ ¾Ïȣȭ ¼Ò½º
</title>

<script>
msg = false;
dum = 1;
//-- dum Àº 1 ¿¡¼­ 5 ±îÁö ÃëÇâ¿¡ ¸Â°Ô ¼±ÅÃÇϼ¼¿ä
//-- ÀÌ ¼ýÀÚ°¡ 0 ÀÌ¸é ¾Ïȣȭ°¡ µÇÁö ¾Ê½À´Ï´Ù.
//-- 1¿¡¼­ 5Á¤µµ°¡ Àû´çÇÕ´Ï´Ù..

function encode() {
myObj = document.myform.aaa;
str = escape(myObj.value);
end_num = str.length - 1;
encode_str = '';

befstr = '<html><head><title></title><sc'
+ 'ript>str2 = "'
aftstr = '";eh = "";for(k=0;k<str2.length;k++)'
+ '{eh+=String.fromCharCode(str2.charCodeAt(k) - ' + dum + ');}'
+ 'document.write(unescape(eh));</scr'
+ 'ipt><body></body></html>'



for(i=0;i<=end_num;i++) {
//if(str.charCodeAt(i)==9) i++;
key = 1*str.charCodeAt(i) + dum;
encode_str += String.fromCharCode(key);
}
document.myform.aaa.value = befstr + encode_str + aftstr;
}


function getstr(value) {

var cs = document.myform.aaa.value;
var str_num = cs.indexOf(value);
return str_num;
}


function decode() {

myObj = document.myform.aaa;
str = myObj.value;
//dum = 40000;
//-- À§¿¡ ´ýÀ̶û °°Àº ¼ýÀÚ·Î...^..^
decode_str = '';
str_start = getstr('str2 = "') + 'str2 = "'.length;
str_end = getstr('";eh');
for(i=str_start;i<str_end;i++) {
key = 1*str.charCodeAt(i) - dum;
decode_str += String.fromCharCode(key);
}
document.myform.aaa.value = unescape(decode_str);
}

function view_source() {
abab = prompt('ÆäÀÌÁöÀÇ ÁÖ¼Ò¸¦ ½á ³ÖÀ¸¼¼¿ä','http://');
window.location = 'view-source:' + abab;
}
</script>
</head>
<body bgcolor=#aaaaaa>

<form name=myform>
<table border=1>
<tr><td>
<textarea name=aaa ROWS=15 COLS=50></textarea>
</td>
</tr>
<tr>
<td align=center>
<input type=button name=ccc value='ÀÎÄÚµù' onclick='encode();'>
<input type=button value='µðÄÚµù' onclick='decode();'>
<input type=reset name=ddd value='´Ù½Ã'>
<input type=button value='¼Ò½ººÒ·¯¿À±â' onclick='view_source();'>
</td></tr>
</table>
</form>
</body>
</html>
¡¡

ÃßõÃßõ : 332 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
785
php ·£´ý À̹ÌÁö µð·ºÅ丮 °Ë»öÀ¸·Î ÆíÇÏ°Ô..
784
·£´ý¹è³Ê ¼Ò½º
783
·£´ýÀ¸·Î ÆÄÀÏ °¡Á®¿Í¼­ Àç»ýÇÏ°í, ³¡³ª¸é ´Ù¸¥ ·£´ýÆÄÀÏ ¶Ç Àç»ýÇϱâ..
782
·ÎÄà ³¯Â¥/½Ã°£À» Çü½ÄÈ­ÇÕ´Ï´Ù.
781
MySQL µ¥ÀÌŸ ÀÔ·Â Å©±â
780
Å×À̺íÀÇ ÆøÀ» °íÁ¤ÇÏ°í ½ÍÀ»¶§..
779
½Ç½Ã°£ Ä«¿îÆ® ´Ù¿î ÇÔ¼ö
778
À¥ ¼­¹ö Á¢¼ÓÀÚÀÇ IP ÁÖ¼Ò È¤Àº µµ¸ÞÀθíÀ» °¡Á®¿À´Â ÇÔ¼ö
777
¸ÞÀÏÀü¼Û Ŭ·¡½º(SMTP Class)
776
½Ã°£ : date() ¿É¼Ç Á¤¸®
775
ÆÄÀÏ ¹× µ¥ÀÌŸº£À̽º ¹é¾÷
774
µð·ºÅ丮º° ¿ë·® üũ
773
¾ÆÆÄÄ¡ÀÎÁõ°ú ºñ½ÁÇÑ ·Î±×ÀÎ ÆäÀÌÁö ¸¸µé±â
772
¸®´ª½º ¸í·É¾î
771
mail() ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ Ã·ºÎ ¸ÞÀÏ º¸³»±â
770
.htaccess¸¦ ÀÌ¿ëÇÑ PHP ini ȯ°æ¼³Á¤
769
ÆÄÀÏã±â ¹öÆ° À̹ÌÁö·Î º¯°æÇϱâ
768
ÀÚµ¿·Î±×ÀÎ ¿¹Á¦ (·Îº¿)
767
Á¤±Ô½Ä (PHP)
766
mysqladmin È°¿ë¹æ¹ý ÃÑÁ¤¸®
765
¾ç/À½·Â ´Þ·Â º¯È¯ ÇÔ¼ö(¶ì,¿äÀÏ,°£Áö Æ÷ÇÔ)
764
¹Ú½º¾ÈÀÇ ±ÛÀÌ »óÇÏÁ¿ì..¿øÇÏ´Â ¹æÇâÀ¸·Î..
763
ƯÀÌÇÑ ±ÛÀھִϸÞÀ̼Ç
762
PHP ¼Óµµ¸¦ Çâ»ó½ÃÅ°´Â ¹æ¹ýµé ¡Ú ¹«Á¶°Ç ¾Ë¾Æ¾ß ÇÒ PHP ¼Óµµ Å×½ºÆ® 14 °¡Áö
761
ÀÚ¹Ù½ºÅ©¸³Æ® º¸¾È¹ýÀÔ´Ï´Ù
À¥ ¹®¼­ ¾Ïȣȭ ½ºÅ©¸³Æ®
759
¼¿·ºÆ® ¸Þ´º¸¦ ·¹À̾î·Î Ç¥Çö
758
CSS ¹× JAVASCRIPT ¼Ò½º È¿°úÀûÀ¸·Î ¼û±â±â
757
µµÆ® À̸ðƼÄÜ »ý¼º±â
756
¸µÅ©¿¡µµ ¼Ò¸®°¡...
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.