½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 169 | Á¶È¸¼ö 3,669 | µî·ÏÀÏ 2007-02-23 17:48:43

´Ð³×ÀÓ

crimwafers

À̸ÞÀÏ

72kook@hanmail.net

Á¦¸ñ

[´äº¯] ¾ÈµÇ³×¿ä.. -_¤Ì;
³»¿ë

¼öÁ¤ üũÇØÁֽŠºÎºÐ ¼öÁ¤Çؼ­ Çغôµ¥¿ä.

1.sub.php¿¡¼­ ³»¿ë ÀÔ·ÂÀ» ÇÏÁö ¾Ê°í ½ÅûÇϱâ¹öÆ° ´­·¯µµ alertâ ¾È¶ß°í ¸ÞÀÏÀü¼ÛÀÌ ±×³É µÇ±¸¿ä.
2.email_send.php ·Î ³Ñ¾î°¡¼­ ´Ù½Ã sub.php·Î ³Ñ¾î¿ÀÁö ¾Ê°í ÀÖ½À´Ï´Ù. ÆäÀÌÁö·Îµù ½Ã°£ÀÌ ´õ ±æ¾îÁ³¾î¿ä.
ÀÌ°Ç ¸¶Âù°¡Áö·Î ¾ÈµÇ°í ÀÖ°í
email_send.php¿¡¼­ ÆäÀÌÁö·ÎµùÁßÀ¸·Î °è¼Ó ¶ß¸é¼­ ¿Ï·á¸Þ¼¼Áö°¡ ¿À·¡ °É¸°´Ù ½Í¾ú´õ´Ï
»õ·Î¿î ¸ÞÀÏÀÌ °è¼Ó Àü¼ÛµÇ°í ÀÖ¾ú¾î¿ä. ¤Ð_¤Ð 80°³°¡ ³Ñ´Â ¸ÞÀÏÀÌ ÇѲ¨¹ø¿¡ ¿Í¹ö·È¾î¿ä.
÷ºÎÇÑ À̹ÌÁöÆÄÀÏ º¸½Ã¸é È®Àΰ¡´ÉÇϽǰſ¡¿ä. ¾î¶² »óȲÀ̾ú´ÂÁö¿ä..


¼öÁ¤ÇÑ ³»¿ë ¾Ë·Áµå¸®¸é.

sub.php --------------------------------------------------

<script>
 function email_sendit(frm)
 {
   if ( frm.email_name1.value == "" )
   {
      alert('¼º¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.');
      frm.email_name1.focus();
      return false;
   }
   if ( frm.email_tel.value == "" )
   {
      alert('¿¬¶ôó¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
      frm.email_tel.focus();
      return false;
   }
   if ( frm.email_memo.value == "" )
   {
      alert('¹®Àdz»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.');
      frm.email_memo.focus();
      return false;
   }
   else
   {
      frm.emailReturnUrl.value = window.location.href;
      return true;
   }

   if ( $_POST["emailSendChk"] == "ok" )
   {
      alert('Àü¼ÛÀÌ ¿Ï·áµÇ¾ú½À´Ï´Ù.');
   }
   else
   {
    <table width="166" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="../img/online_01.gif" width="166" height="51"></td>
        </tr>
        <tr>
          <td align="center" background="../img/online_bg.gif"> <table width="130" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="17%" height="20"><img src="../img/online_03.gif" width="44" height="12"></td>
                <td>
                  <?=$email_name1?>
                </td>
              </tr>
              <tr>
                <td height="20"><img src="../img/online_04.gif" width="44" height="12"></td>
                <td>
                  <?=$email_tel?>
                </td>
              </tr>
              <tr>
                <td height="20"><img src="../img/online_05.gif" width="44" height="12"></td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td colspan="2">
                  <?=$email_memo?>
                </td>
              </tr>
              <tr align="center">
                <td height="70" colspan="2"><img src="../img/online_06.gif" width="122" height="55"></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td><img src="../img/online_02.gif" width="166" height="8"></td>
        </tr>
      </table>
   }
 }
</script>

<form action="/include/email_send.php" method="post" name='as2' id='as2' onSubmit="return email_sendit(this)">
 <input type="hidden" name="emailReturnUrl" value="">
//ÀÔ·ÂÆû
<input type="image" name="image" onFocus="this.blur()" src="../img/online_btn.gif" width="55" height="16">//onClick ºÎºÐ »èÁ¦Çß¾î¿ä.

 

email_send.php ----------------------------------------------

<?
¸ÞÀϺ¸³»´Â ¼Ò½º

echo "
 <form action='$_POST[emailReturnUrl]' method='post' name='as2'>
   <input type='hidden' name='emailSendChk' value='ok'>
 </form>
 <script>
   document.as2.submit();
 </script>
";
?>

--------------------ÀÌ»óÀ̱¸¿ä.

kwak17´Ô ´öºÐ¿¡ Æû¸ÞÀÏ¿¡ °ü·ÃÇؼ­ ¸¹ÀÌ ¹è¿ì°í ¾Ë°ÔµÆ´Âµ¥..
¿¡°í.. ´äº¯ ´Þ¾ÆÁֽŠkwak17´ÔÀ» »ý°¢Çϸé Æ÷±âÇÏ¸é ¾ÈµÇ´Â°Çµ¥..
¾Æ.. ÀÌÂë¿¡¼­ ±×³É Æ÷±âÇÒ±î »ý°¢µµ µå³×¿ä.
ÇÑÆíÀ¸·Ð ³¡±îÁö ÇØ°áÇغ¼±îÇÏ´Â ¿À±â°¡ »ý±â´Â°Å °°±âµµ ÇÏ°í..
ÇÁ·Î±×·¥ °ü·Ã ¾Æ¹«°Íµµ ¸ð¸£´Â »óÅ¿¡¼­ ÇÏ·Á´Ï..  ¤Ð_¤Ð;;;
¾ÆÇÏÇÏ.. ÇØ°á¸øÇÑ´ÙÇصµ ³Ê¹« °¨»çµå·Á¿ä kwak17´Ô.

ÁÁÀº Àú³á º¸³»¼¼¿ä~

÷ºÎ ÆÄÀϸñ·Ï
ÆÄÀÏ¸í ¿ë·® ´Ù¿î¼ö µî·Ï½Ã°£
program--mailerror.jpg 160.4 KB 182 ȸ 2007-02-23 17:48:43
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
°Ë¹«Ç÷½Å 2007-02-25 23:01:04
´ä±Û

¾ÆÁÖ »ç¼ÒÇÑ ½Ç¼ö ¶§¹®¿¡ ±×·¯½Å°Å °°³×¿ä;;
µÎ°³ÀÇ ¼Ò½º ¿øº»À» º¸¿©ÁÖ½Ã¸é ±× »ç¼ÒÇÑ ¿¡·¯¸¦ Àâ¾Æµå¸±¼ö Àִµ¥..;

°Ë¹«Ç÷½Å 2007-02-25 23:03:39
´ä±Û

sub.php À­ºÎºÐÀÌ ¿øº»±×´ë·Î¶ó¸é..
if ( $_POST["emailSendChk"] == "" )
{
alert("Àü¼ÛÀÌ ¿Ï·áµÇ¾ú½À´Ï´Ù.");
}
À̺κÐÀº.. php·Î µÇ¾î¾ß ÇÕ´Ï´Ù..-,.-

crimwafers 2007-02-26 12:11:14
´ä±Û

¾ÆÈæ.. »ç¼ÒÇѽǼö¶ó
´ä±Û´Þ¾ÆÁֽŵ¥·Î ¼öÁ¤Çߴµ¥.. ¾ÈµÇ°í ÀÖ½À´Ï´Ù.
kwak17´Ô ±×·³ Á˼ÛÇÏÁö¸¸ Á¦°¡ ÆÄÀÏ÷ºÎÇص帮¸é ¼öÁ¤ÇØÁֽǼö ÀÖÀ¸¼¼¿ä??
ºÎŹµå·Áµµ µÉ±î¿ä?

°Ë¹«Ç÷½Å 2007-02-26 13:23:38
´ä±Û

³× °ü·Ã ÆÄÀÏ Ã·ºÎÇؼ­ ¿Ã·ÁÁÖ¼¼¿ä..

crimwafers 2007-02-26 14:58:31
´ä±Û

kwak17´Ô °¨»çÇÕ´Ï´Ù _ _)

ÀÌÀü°Ô½Ã±Û ÀÌ·±½ÄÀ¸·Î ÀÛµ¿ÇÏ´Â ¼Ò½º¸¦ ±¸Çϴµ¥¿ä.. 2007-02-22 16:10:25
´ÙÀ½°Ô½Ã±Û Á¦¹ß °í¼ö´Ôµé ¹«·áµµ¸ÞÀμ³Ä¡ÇØ°áÁ»! 2007-02-24 22:56:43