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

´Ð³×ÀÓ

Anonymous

À̸ÞÀÏ

Á¦¸ñ

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");
}
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ·Îµù¿¡ ´ëÇؼ­...[´äº¯ ºÎŹÇÕ´Ï´Ù.] 2001-09-06 16:19:11
´ÙÀ½°Ô½Ã±Û ¾È³çÇϼ¼¿© ^^ À©µµ¿ì2000 ÇÁ·ÎÆä¼Å³¯ ¹öÀü¿¡¼­ Å×Å©³ëÆ® µ¹¸®·Á 2001-09-07 13:55:45