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

´Ð³×ÀÓ

white

À̸ÞÀÏ

white@happycgi.com

Á¦¸ñ

[´äº¯] [´äº¯] [´äº¯] substr()ÇÔ¼ö Áú¹® µå¸³´Ï´Ù.
³»¿ë
¾È³çÇϽʴϱî? HappyCGIÆÀ¿¡  whiteÀÔ´Ï´Ù. *^^*

>¾È³çÇϼ¼¿ä? ¿î¿µÀÚ´Ô..
>
>¸ÕÀú ´äº¯±Û Áּż­ ³Ê¹«³Ê¹« °¨»çÇØ¿ä. ^^
>
>¹Ù»Ú½ÇÅÙµ¥... ÇÏÂúÀº Àú¶§¹®¿¡ °í»ýÇϽó׿è ^^;
>
>±Ùµ¥ Á¦°¡ Á˼ÛÇÏÁö¸¸ Ãʺ¸¶ó¼­ Àß ¸ð¸£°Åµç¿©...
>
>±Ù±î ÄÚµå´Â ´ë·« ÀÌ·¸°Ô µÅ¾î ÀÖ½À´Ï´Ù.
>
>// ÀÚ¸£±â
>$zipcode1 = substr($result_addr,0,3);
>$zipcode2 = substr($result_addr,4,3);
>$address = substr($result_addr,8);
>
>
>//ºÎ¸ðâ¿¡ ÀÔ·ÂÇϱâ
><script language='javascript'>
>function apply()
>{
> opener.document.form1.post1.value = $zipcode1;
> opener.document.form1.post2.value = $zipcode2;
> opener.document.form1.address1.value = '$address';
> self.close();
>}
></script>
>
>¾Æ¹«¸® ºÁµµ ¸ð¸£°Ú½À´Ï´Ù. ¤Ð.¤Ð
>
>´Ù Á¤»óÀûÀ¸·Î ³ª¿À´Âµ¥ ºÎ¸ðâ¿¡ ÀԷµɶ§ ¾Õ¿¡ 0ÀÌ µé¾î°¡¸é 0ÀÌ ´©¶ôµÅ³×¿° ¤Ð.¤Ð
>
>¾ý..Á˼ÛÇÏÁö¸¸ ÀÚ¼¼ÇÑ ´äº¯ ºÎŹµå·Á¿ä ¤Ð.¤Ð *^^*
>
>°¨»çÇÕ´Ï´Ù.

¼öÁ¤ÇÏ½Ç ºÎºÐÀº $zipcode1°ú $zipcode2¿¡ µû¿ÈÇ¥¸¦ ÃÄÁֽʽÿä.

opener.document.form1.post1.value = '$zipcode1';
        opener.document.form1.post2.value = '$zipcode2';
opener.document.form1.address1.value = '$address';

$zipcode2°¡ ¸¸¾à¿¡ "002"¶ó¸é "002"·Î Ãâ·ÂµË´Ï´Ù.

µû¿ÈÇ¥·Î ¹­¾î ÁÖ½Ã¸é ±Ý¹æ ÇØ°áµÇ³×¿ä.

±×·³... ÁÁÀº ÇÏ·ç µÇ½Ã°í, ÇູÇϼ¼¿ä.*^^*
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ÀÛ¾÷ÀÏÁö ¸¦ ´ë½ÅÇÒ¼ö ÀÖ´Â ÇÁ·Î±×·¥ÀÌ ÀÖÀ»±î¿ä.. 2001-05-02 17:25:24
´ÙÀ½°Ô½Ã±Û ÀÚµ¿ÀÌü..Çϱ¸.. ÁֹιøÈ£ Á¤È®ÇÑÁö ¾Ë¾Æº¸´Â°Í ¾øÀ»±î¿©? 2001-05-02 18:13:50