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


Encode email
13³â Àü
function encode_email($e)
{
for ($i = 0; $i < strlen($e); $i++) { $output .= '&#'.ord($e[$i]).';'; }
return $output;
}


echo(encode_email('user@davidwalsh.name'));



ÂüÁ¶»çÀÌÆ® : http://davidwalsh.name/php-email-encode-prevent-spam



// email ÁÖ¼Ò ÀϺΠ¾Ïȣȭ
function encode_mail_form($email, $encode_count=2, $fields='*')
{
    $mail=explode("@",$email);
    $email=substr($mail[0],0,$encode_count).str_repeat($fields,strlen($mail[0]))."@".$mail[1];

    return $email;
}
ÃßõÃßõ : 302 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
802
set_time_limit — ÃÖ´ë ½ÇÇà ½Ã°£À» Á¦ÇÑ
801
mysql_affected_rows — ÃÖ±Ù MySQL ÀÛ¾÷À¸·Î º¯°æµÈ Çà °³¼ö¸¦ ¾òÀ½
800
parse_ini_file — Parse a configuration file
799
mysql_result — °á°ú µ¥ÀÌÅ͸¦ ¹Ýȯ
798
strpos — ¹®ÀÚ¿­ÀÌ Ã³À½ ³ªÅ¸³ª´Â À§Ä¡¸¦ ã½À´Ï´Ù
Encode email
796
function_exists — Return TRUE if the given function has been defined
795
crypt — ´Ü¹æÇâ ¹®ÀÚ¿­ ¾Ïȣȭ
794
usleep - ÁÖ¾îÁø ¸¶ÀÌÅ©·Î Ãʸ¸Å­ ½ÇÇàÀ» Áö¿¬
793
sprintf — Çü½ÄÈ­ÇÑ ¹®ÀÚ¿­À» ¹Ýȯ
792
array_merge — Çϳª ÀÌ»óÀÇ ¹è¿­À» º´ÇÕ
791
checkdate — ±×·¹°í¸®·Â ³¯Â¥¸¦ È®ÀÎÇÕ´Ï´Ù
790
file_get_contents
789
mysql_insert_id
788
implode — ¹®ÀÚ¿­·Î ¹è¿­ ¿ø¼Ò¸¦ °áÇÕ
787
stripcslashes — addcslashes()·Î ÀοëÇÑ ¹®ÀÚ¿­À» µÇµ¹¸²
786
stripslashes — µû¿ÈÇ¥ ó¸®ÇÑ ¹®ÀÚ¿­À» DZ´Ï´Ù
785
addslashes — ¹®ÀÚ¿­À» ½½·¡½Ã·Î Àοë
784
mysql_fetch_assoc - ¿¬°ü ¹è¿­·Î °á°ú ÇàÀ» ¹Ýȯ
783
array_pop — ¹è¿­ÀÇ ¸¶Áö¸· ¿ø¼Ò »©³»±â
782
in_array — °ªÀÌ ¹è¿­ ¾È¿¡ Á¸ÀçÇÏ´ÂÁö È®ÀÎ
781
ÆÄÀÏ È®ÀåÀÚ ºñ±³
780
ÇÁ·ÒÇÁÆ® ·Î±×ÀÎó¸®
779
explode - ¹®ÀÚ¿­ ³ª´®
778
nl2br (¹®ÀÚ¿­ÀÇ ¸ðµç ÁÙ¹Ù²Þ ¾Õ¿¡ HTML ÁÙ¹Ù²Þ Å±׸¦ »ðÀÔ)
777
base64_encode / base64_decode
776
urlencode - ¹®ÀÚ¿­À» URL ÀÎÄÚµå
775
iconv - ¿øÇÏ´Â ¹®ÀÚ ÀÎÄÚµùÀ¸·Î º¯È¯ÇÑ´Ù
774
Á¤±ÔÇ¥Çö½Ä ¸ÅÄ¡¸¦ ¼öÇà (preg_match)
773
Á¤±Ô Ç¥Çö½Ä °Ë»ö°ú ġȯ (preg_replace)
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.