±Û¾´ÀÌ :¹Ú¿ë½Ä 1998³â 6¿ù 17ÀÏ 03:19:17
Àú´Â ¾ÆÁÖ °£´ÜÇÑ ÀÚ¹Ù ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÏ·Á°í Çϴµ¥,
Àß ¾ÈµÇ´Â ºÎºÐÀÌ ÀÖ¾î¼ ½Ç·Ê¸¦ ¹«¸¾²°í Áú¹®À» ÇÕ´Ï´Ù.
½ºÅ©¸³Æ®ÀÇ ³»¿ëÀº °£´ÜÇÑ µî·Ï ÆûÀä...
µî·ÏµÈ ³»¿ëÀ» Àú¿¡°Ô ¸ÞÀÏ·Î º¸³»Áö´Â Çü½ÄÀÔ´Ï´Ù.
±×·±µ¥, ´Ù¸¥°ÍÀº ´Ù µÇ´Âµ¥ Àú¿¡°Ô ¸ÞÀÏÀÌ ¿Í¼
±× ¸ÞÀÏ ³»¿ëÀ» ÀÐÀ»¶§ º¸¸é ÇÑ±Û ³»¿ëÀÌ ±úÁ®¿ä.
¿©·¯°¡Áö¸¦ ¼öÁ¤ÇØ º¸¾ÒÁö¸¸ ¾ÈµË´Ï´Ù.
¼Ò½º´Â ´ÙÀ½°ú °°½À´Ï´Ù.
=======================================================
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987"> <title>Registration Form</title> <script> //global variable for error flag var errfound = false; //function to validate by length function ValidLength(item, len) { return (item.length >= len); } //function to validate an email address function ValidEmail(item) { if (!ValidLength(item, 5)) return false; if (item.indexOf ('@', 0) == -1) return false; return true; } // display an error alert function error(elem, text) { // abort if we already found an error if (errfound) return; window.alert(text); elem.select(); elem.focus(); errfound = true; } // main validation function function Validate() { errfound = false; if (!ValidLength(document.regform.username.value,3)) error(document.regform.username,"Invalid Name"); if (!ValidLength(document.regform.phone.value,2)) error(document.regform.phone,"Invalid phone number"); if (!ValidEmail(document.regform.email.value)) error(document.regform.email, "Invalid Email Address"); return !errfound; /* true if there are no errors */ } </script> </head> <body> <h1>Registration Form</h1> <hr> Please fill out the fields below to register for our web page. Press the Submit button at the end of the form when done. <p> <hr> <form NAME="regform" onSubmit="return Validate();" ACTION="mailto:parkysik@channeli.net" METHOD="POST"> <b>À̸§:</b> <input TYPE="text" NAME="username" SIZE="20"> <b>Á¤´ä: </b><input TYPE="text" NAME="phone" SIZE="15"> <b>E-mail:</b> <input TYPE="text" NAME="email" SIZE="20"><p> <hr> <input TYPE="SUBMIT" NAME="submit" VALUE="Submit Registration"> <input TYPE="RESET" VALUE="Start Over"> <p> </form> </body> </html>=======================================================
´ÙÀ½³»¿ëÀº Àú¿¡°Ô ¿Â ¸ÞÀÏÀÇ ³»¿ëÀÔ´Ï´Ù.
username=%B9%DA%BF%EB%BD%C4&phone=%BF%EC%B8%AE%B3%AA%B6%F3&email=parkysik@channeli.net&submit=Submit+Registration
¹°·Ð ÀÌ°ÍÀº ¸Þ¸ðÀå¿¡¼ ºÒ·¯¿Â °ÍÀÔ´Ï´Ù.
³»¿ëÀÌ attach·Î ¿Ô°Åµç¿ä.
´äº¯ ºÎŹÇÕ´Ï´Ù.
Á˼ÛÇÕ´Ï´Ù.