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

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

hero@happycgi.com

Á¦¸ñ

[´äº¯] html Çü½ÄÀ¸·Î ¸ÞÀÏ º¸³»±â..
³»¿ë
>ÀÌ°Å ¾Æ½Ã´ÂºÐ ¾Ë·ÁÁÖ¼¼¿©~
>¾Æ·¡´Â µî·ÏµÈ Àüüȸ¿ø¿¡°Ô ¸ÞÀÏÀ» º¸³»´Â perl ¼Ò½ºÀÔ´Ï´Ù.
>ÀÌ ¼Ò½º´Â ÅؽºÆ® Çü½ÄÀ¸·Î¸¸ ¸ÞÀÏÀÌ ¹ß¼ÛµÇ´Âµ¥,
>ÀÌ°ÍÀ» htmlÇü½ÄÀ¸·Î ¸ÞÀÏÀ» ¹ß¼ÛÇÒ·Á¸é,
>¾îµð¸¦ ¾î¶»°Ô ¼öÁ¤ÇÏ¸é µÉ±î¿ä?
>Content-type: text/html <== ÀÌ·± ÇØ´õ¸¦ »ðÀÔÇØÁÖ¸é µÉ°Íµµ °°Àºµ¥,
>µµ¹«Áö ¸ð¸£°Ú³×¿°..
>¾Æ½Ã´ÂºÐ ´äº¯ ÁÖ¼¼¿°.
>---------------------------------------
>sub send_mail {
>  derr(1001, "Subject Left Blank") if( $FRM{'sub'} eq '' );
>  derr(1001, "Message Left Blank") if( $FRM{'msg'} eq '' );
>  $FRM{'to'} eq 'All' ? forkmail() : regmail();
>}
>
>sub forkmail {
>  my $pid = fork();
>
>  if( !$pid ) {
>    for( @{ dread("$DDIR/members", '\.dat$') } ) {
>      my $id  = arp::getmem($_);
>      memtpl($id);
>      my $msg = qq|To: $TPL{'MAIL'}\nFrom: $VAR::EM\nSubject: $FRM{'sub'}\n\n|;
>      $msg .= $FRM{'msg'};
>      mail($VAR::ES, \$msg, \%TPL);
>    }
>    sleep(1);
>  }
>  else {
>    display_main("Accounts Have Been E-mailed");
>    print '<font color="#ffffff">';
>  }
>}
>
>sub regmail {
>  for( split(/,/, $FRM{'to'}) ) {
>    memtpl($_);
>    my $msg = qq|To: $TPL{'MAIL'}\nFrom: $VAR::EM\nSubject: $FRM{'sub'}\n\n|;
>    $msg .= $FRM{'msg'};
>    mail($VAR::ES, \$msg, \%TPL);
>  }
>  &{ $map{$FRM{'from'}} }("Accounts Have Been E-mailed");
>}
>

¾È³çÇϼ¼¿ä. ÇØÇÇCGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù.
http://www.happycgi.com/forum/forum_detail.cgi?thread=7039&category=À¥ÇÁ·Î±×·¥_°ü·Ã/PERL_°ü·Ã/PERL_ÆÁ

À§ ÁÖ¼Ò¸¦ Ŭ¸¯Çϼż­ º¸½Ã¸é Âü°í°¡ µÉ°Ì´Ï´Ù.
ÁÁÀº ÇÏ·çµÇ¼¼¿ä.
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û Ȥ½Ã webscripts tools Áß¿¡ weblog¼³Ä¡Çغ¸¼Ì´ÂÁö¿ä? 2001-09-07 16:41:04
´ÙÀ½°Ô½Ã±Û ÆÞ CGI ¼öÁ¤ÀÌ Àß ¾ÈµÅ¼­ ºÎŹµå¸³´Ï´Ù. 2001-09-08 01:08:06