|
|
¿À´Ã |
5,230
|
|
|
¾îÁ¦ |
5,946
|
|
|
ÃÖ´ë |
5,946
|
|
|
Àüü |
3,189,088
|
|
| |
|
|
| ÇöÀçÀ§Ä¡ : Á¤º¸¸¶´ç > ¢Ñ ȨÆäÀÌÁö | | |
ÀÛ¼ºÀÏ : 08-11-11 21:43
PHPÇÔ¼ö
|
|
±Û¾´ÀÌ :
Çѳª
Á¶È¸ : 7,116
|
[elseif]
ÇÔ¼ö¸í ==> elseif
»ç¿ë Çü½Ä ==> elseif () {}
¼³ ¸í ==>
°á°ú °ª return ==>
[else]
ÇÔ¼ö¸í ==> else
»ç¿ë Çü½Ä ==> else {}
¼³ ¸í ==>
°á°ú °ª return ==>
[switch]
ÇÔ¼ö¸í ==> switch
»ç¿ë Çü½Ä ==> switch() { case : }
¼³ ¸í ==>
°á°ú °ª return ==>
[for]
ÇÔ¼ö¸í ==> for
»ç¿ë Çü½Ä ==> for( ; ; ) {}
¼³ ¸í ==>
°á°ú °ª return ==>
[foreach]
ÇÔ¼ö¸í ==> foreach
»ç¿ë Çü½Ä ==> foreach( as ) {}
¼³ ¸í ==>
°á°ú °ª return ==>
[while]
ÇÔ¼ö¸í ==> while
»ç¿ë Çü½Ä ==> while() {}
¼³ ¸í ==>
°á°ú °ª return ==>
[return]
ÇÔ¼ö¸í ==> Return
»ç¿ë Çü½Ä ==> Return;
¼³ ¸í ==>
°á°ú °ª return ==>
[function]
ÇÔ¼ö¸í ==> function
»ç¿ë Çü½Ä ==> function () {}
¼³ ¸í ==>
°á°ú °ª return ==>
[class]
ÇÔ¼ö¸í ==> class
»ç¿ë Çü½Ä ==> class {}
¼³ ¸í ==>
°á°ú °ª return ==>
[time]
ÇÔ¼ö¸í ==> time()
¼³ ¸í ==> ÇöÀç ½Ã°¢À» timestamp°ªÀ¸·Î ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> time()
°á°ú °ª return ==>
[date]
ÇÔ¼ö¸í ==> date()
¼³ ¸í ==> »ç¿ëÀÚ°¡ ÁöÁ¤ÇÑ ÇüÅ·Π½Ã°£À» Ç¥½Ã. ƯÁ¤½Ã°£ÀÇ ³¯Â¥¿Í ¿äÀϵîÀ» ¹è¿·Î ¸®ÅÏÇÑ´Ù.
»ç¿ë Çü½Ä ==> date("½Ã°£Æ÷¸Ë","timestamp")
°á°ú °ª return ==>
[mktime]
ÇÔ¼ö¸í ==> mktime()
¼³ ¸í ==> ÁöÁ¤µÈ ³¯Â¥¸¦ timestamp°ªÀ¸·Î º¯È¯ÇÑ´Ù.
»ç¿ë Çü½Ä ==> mktime(½Ã,ºÐ,ÃÊ,¿ù,ÀÏ,³â)
°á°ú °ª return ==>
[getimagesize]
ÇÔ¼ö¸í ==> GetImageSize()
¼³ ¸í ==> À̹ÌÁöÆÄÀÏÀÇ »çÀÌÁ °¡·Î,¼¼·Î·Î ¸®ÅÏ(array)ÇÑ´Ù.
»ç¿ë Çü½Ä ==> getimagesize("À̹ÌÁöÆÄÀÏ")
°á°ú °ª return ==>
[checkdate]
ÇÔ¼ö¸í ==> checkdate()
¼³ ¸í ==> ³¯Â¥¿Í ½Ã°£ÀÌ ¿Ã¹Ù¸¥ ¹üÀ§ ¾È¿¡ ÀÖ´ÂÁö °Ë»çÇÑ´Ù.
»ç¿ë Çü½Ä ==> checkdate(¿ù,ÀÏ,³â)
°á°ú °ª return ==>
[getdate]
ÇÔ¼ö¸í ==> getdate()
¼³ ¸í ==> ƯÁ¤timestamp°ªÀ¸·Î ½Ã°£,¿äÀÏ,³¯Â¥Á¤º¸¸¦ ¹è¿·Î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> getdate(timestamp)
°á°ú °ª return ==>
[gettimeofday]
ÇÔ¼ö¸í ==> gettimeofday()
¼³ ¸í ==> ÇöÀç ½Ã½ºÅÛÀÇ ÇöÀç ½Ã°£ Á¤º¸¸¦ ¹è¿·Î ¸®ÅÏÇÑ´Ù.
»ç¿ë Çü½Ä ==> gettimeofday()
°á°ú °ª return ==>
[gmmktime]
ÇÔ¼ö¸í ==> gmmktime()
¼³ ¸í ==> ±×¸®´ÏÄ¡Ç¥ÁØ ½Ã°£À¸·Î ÁöÁ¤ÇÑ ³¯Â¥ÀÇ timestamp°ªÀ» ¸®ÅÏÇÑ´Ù.
»ç¿ë Çü½Ä ==> gmmktime(½Ã,ºÐ,ÃÊ,¿ù,ÀÏ,³â)
°á°ú °ª return ==>
[strftime]
ÇÔ¼ö¸í ==> strftime()
¼³ ¸í ==> ƯÁ¤ÇÑ Æ÷¸ËÀ¸·Î ³¯Â¥ Á¤º¸¸¦ Ãâ·ÂÇϴµ¥ ¾ð¾î¸¦ ÁöÁ¤ÇÒ¼ö ÀÖ´Ù.
»ç¿ë Çü½Ä ==> strftime("½Ã°£Æ÷¸Ë","timestamp")
°á°ú °ª return ==>
[microtime]
ÇÔ¼ö¸í ==> microtime()
¼³ ¸í ==> ÇöÀç½Ã°£ÀÇ ¸¶ÀÌÅ©·ÎŸÀÓ °ª°ú timestamp°ªÀ» Ç¥½ÃÇÑ´Ù.
»ç¿ë Çü½Ä ==> microtime()
°á°ú °ª return ==>
[localtime]
ÇÔ¼ö¸í ==> localtime()
¼³ ¸í ==> ÇöÀç ¼¹öÀÇ ·ÎÄà ŸÀÓÀ» Ç¥½Ã
»ç¿ë Çü½Ä ==> localtime("timestamp")
°á°ú °ª return ==>
[addslashes]
ÇÔ¼ö¸í ==> addslashes()
¼³ ¸í ==> ÀÛÀºµû¿ÈÇ¥ Å«µû¿ÈÇ¥¿Í °°Àº ƯÁ¤¹®ÀÚ ¾Õ¿¡ ¿ª½½·¡½Ã ¹®ÀÚ¸¦ ºÙÀδÙ.
»ç¿ë Çü½Ä ==> addslashes()
°á°ú °ª return ==>
[stripslashes]
ÇÔ¼ö¸í ==> stripslashes()
¼³ ¸í ==> allslashes·Î ¿ª½½·¡½Ã ó¸®µÈ ¹®ÀÚ¸¦ ¿ø»óÅ·ΠµÇµ¹¸°´Ù.
»ç¿ë Çü½Ä ==> stripslashes()
°á°ú °ª return ==>
[htmlspecialchars]
ÇÔ¼ö¸í ==> htmlspecialchars()
¼³ ¸í ==> HTMLÄڵ带 ¼Ò½º ±×´ë·Î Ãâ·ÂÇØÁØ´Ù.
»ç¿ë Çü½Ä ==> htmlspecialchars()
°á°ú °ª return ==>
[nl2br]
ÇÔ¼ö¸í ==> nl2br()
¼³ ¸í ==> ¹®ÀÚ¿¿¡ Æ÷ÇÔµÈ °³Çà ¹®ÀÚ¸¦ <br>ű׷Π¸ðµÎ ¹Ù²ãÁØ´Ù.
»ç¿ë Çü½Ä ==> nl2br()
°á°ú °ª return ==>
[echo]
ÇÔ¼ö¸í ==> echo();
¼³ ¸í ==> ¹®ÀÚ¿ Ãâ·Â
»ç¿ë Çü½Ä ==> echo("º¯¼ö¸í" ¶Ç´Â "¹®ÀÚ¿")
°á°ú °ª return ==>
[eregi]
ÇÔ¼ö¸í ==> eregi();
¼³ ¸í ==> ÁöÁ¤ ¹®ÀÚ¿³»¿¡¼ ´ë¼Ò¹®ÀÚ ±¸ºÐ¾øÀÌ ¹®ÀÚ¿ ¶Ç´Â Á¤±Ô½ÄÀ¸·Î ƯÁ¤ ¹®ÀÚ ¶Ç´Â ±âÈ£,¼ýÀÚµîÀ» ãÀ»¶§
»ç¿ë Çü½Ä ==> eregi("ã´Â¹®ÀÚ/Á¤±Ô½Ä","ÁöÁ¤ ¹®ÀÚ¿")
°á°ú °ª return ==>
[ereg]
ÇÔ¼ö¸í ==> ereg();
¼³ ¸í ==> ÁöÁ¤ ¹®ÀÚ¿³»¿¡¼ ´ë¼Ò¹®ÀÚ¸¦ ±¸ºÐÇÏ¿© ¹®ÀÚ¿ ¶Ç´Â Á¤±Ô½ÄÀ¸·Î ƯÁ¤ ¹®ÀÚ ¶Ç´Â ±âÈ£,¼ýÀÚµîÀ» ãÀ»¶§
»ç¿ë Çü½Ä ==> ereg("ã´Â¹®ÀÚ/Á¤±Ô½Ä","ÁöÁ¤ ¹®ÀÚ¿")
°á°ú °ª return ==>
[eregi_replace]
ÇÔ¼ö¸í ==> eregi_replace();
¼³ ¸í ==> ÁöÁ¤ ¹®ÀÚ¿³»¿¡¼ ´ë¼Ò¹®ÀÚ¸¦ ±¸ºÐ¾øÀÌ Ã£´Â ¹®ÀÚ¿ ¶Ç´Â Á¤±Ô½ÄÀ¸·Î ƯÁ¤ ¹®ÀÚ¿,±âÈ£,¼ýÀÚµîÀ» ã¾Æ¼ Ÿ°Ù ¹®ÀÚ¿ Çü½ÄÀ¸·Î º¯È¯ÇÒ¶§
»ç¿ë Çü½Ä ==> eregi_replace("ã´Â¹®ÀÚ/Á¤±Ô½Ä","Ÿ°Ù¹®ÀÚ¿","ÁöÁ¤ ¹®ÀÚ¿")
°á°ú °ª return ==>
[ereg_replace]
ÇÔ¼ö¸í ==> ereg_place();
¼³ ¸í ==> ÁöÁ¤ ¹®ÀÚ¿³»¿¡¼ ´ë¼Ò¹®ÀÚ¸¦ ±¸ºÐÇÏ¿© ã´Â ¹®ÀÚ¿/Á¤±Ô½ÄÀ¸·Î ƯÁ¤ ¹®ÀÚ¿,±âÈ£,¼ýÀÚµîÀ» ã¾Æ¼ Ÿ°Ù ¹®ÀÚ¿ Çü½ÄÀ¸·Î º¯È¯ÇÒ¶§
»ç¿ë Çü½Ä ==> ereg_replace("ã´Â¹®ÀÚ/Á¤±Ô½Ä","Ÿ°Ù¹®ÀÚ¿","ÁöÁ¤ ¹®ÀÚ¿")
°á°ú °ª return ==>
[include]
ÇÔ¼ö¸í ==> include();
¼³ ¸í ==> ƯÁ¤ ÆÄÀÏÀ» ¼Ò½º³»¿¡ Æ÷ÇÔ½Ãų ¶§.
»ç¿ë Çü½Ä ==> include("°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[print]
ÇÔ¼ö¸í ==> pring();
¼³ ¸í ==> ¹®ÀÚ¿ Ãâ·Â
»ç¿ë Çü½Ä ==> print("º¯¼ö¸í" ¶Ç´Â "¹®ÀÚ¿")
°á°ú °ª return ==>
[sprintf]
ÇÔ¼ö¸í ==> sprintf()
¼³ ¸í ==> Æ÷¸Ë ¹®ÀÚ¿À» ÅëÇØ ÁöÁ¤ÇØ ÁØ Æ÷¸ËÀ¸·Î ¹®ÀÚ¿À» Ç¥½ÃÇÑ´Ù.
»ç¿ë Çü½Ä ==> sprintf("Æ÷¸Ë","º¯¼ö¸í")
°á°ú °ª return ==>
[printf]
ÇÔ¼ö¸í ==> printf()
¼³ ¸í ==> ÁöÁ¤ÇÒ ¼ö ÀÖ´Â Æ÷¸Ë¿¡ µû¶ó ¹®ÀÚ¿À» Ãâ·ÂÇÑ´Ù.
»ç¿ë Çü½Ä ==> printf("Æ÷¸Ë","º¯¼ö¸í")
°á°ú °ª return ==>
[explode]
ÇÔ¼ö¸í ==> explode()
¼³ ¸í ==> ¹®ÀÚ¿À» ÁöÁ¤ÇØÁØ ±¸ºÐÀÚ·Î ºÐ¸®ÇÏ¿© ¹è¿¿¡ ÀúÀåÇÑ´Ù.
»ç¿ë Çü½Ä ==> explode("±¸ºÐÀÚ","¹®ÀÚ¿Àμö")
°á°ú °ª return ==>
[implode]
ÇÔ¼ö¸í ==> implode()
¼³ ¸í ==> ±¸ºÐÀÚ·Î ³ª´©¾î ¹è¿¿¡ ´ãÀº ¹®ÀÚ¿À» ´Ù½Ã ÁöÁ¤ÇØÁØ ±¸ºÐÀÚ·Î ¿¬°áÇÏ¿© Àüü ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> implode("±¸ºÐÀÚ",¹è¿º¯¼ö¸í)
°á°ú °ª return ==>
[join]
ÇÔ¼ö¸í ==> join()
¼³ ¸í ==> implode()¿Í µ¿ÀÏÇÑ ±â´ÉÀ» ¼öÇàÇÑ´Ù.
»ç¿ë Çü½Ä ==> join("/", "¹è¿º¯¼ö¸í")
°á°ú °ª return ==>
[split]
ÇÔ¼ö¸í ==> split()
¼³ ¸í ==> ÁÖ¾îÁø ¹®ÀÚ¿À» Á¤±ÔÇ¥Çö½ÄÀÇ ÆÐÅÏ¿¡ µû¶ó ºÐ¸®ÇÏ¿© ¹è¿¿¡ ÀúÀåÇÑ´Ù.
»ç¿ë Çü½Ä ==> implode("Á¤±ÔÇ¥Çö½Ä","¹®ÀÚ¿")
°á°ú °ª return ==>
[strcmp]
ÇÔ¼ö¸í ==> strcmp()
¼³ ¸í ==> µÎ°³ÀÇ ¹®ÀÚ¿À» ºñ±³ÇÏ¿© ÂüÀ̸é1, °ÅÁþÀ̸é 0À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strcmp("¹®ÀÚ¿","¹®ÀÚ¿") ¶Ç´Â strcmp("¹®ÀÚ¿","º¯¼ö¸í") ¶Ç´Â strcmp(º¯¼ö¸í, º¯¼ö¸í)
°á°ú °ª return ==>
[substr]
ÇÔ¼ö¸í ==> substr()
¼³ ¸í ==> ¹®ÀÚ¿¿¡¼ ƯÁ¤½ÃÀÛ ¹®ÀÚºÎÅÍ ±æÀ̸¸ÅÀÇ ¹®ÀÚ¿À» ÃßÃâÇÏ¿© ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> substr("¹®ÀÚ¿", ½ÃÀÛ¹®ÀÚ¹øÈ£, ¹®ÀÚ¿ÀÇ ±æÀÌ)
°á°ú °ª return ==>
[exit]
ÇÔ¼ö¸í ==> exit;
¼³ ¸í ==> PHPÀÇ ¼öÇàÀ» ÁߴܽÃŲ´Ù.
»ç¿ë Çü½Ä ==> exit;
°á°ú °ª return ==>
[strchr]
ÇÔ¼ö¸í ==> strchr()
¼³ ¸í ==> ¹®ÀÚ¿ÀÌ Ã³À½À¸·Î ³ªÅ¸³ª´Â À§Ä¡ºÎÅÍ ³¡±îÁö ¹Ýȯ
»ç¿ë Çü½Ä ==> strchr("¹®ÀÚ¿","ãÀ» ¹®ÀÚ¿")
°á°ú °ª return ==>
[strstr]
ÇÔ¼ö¸í ==> strstr()
¼³ ¸í ==> strchr()ÇÔ¼ö¿Í µ¿ÀÏÇÑ ¼öÇàÀ» ÇÑ´Ù.
»ç¿ë Çü½Ä ==> strstr("¹®ÀÚ¿","ãÀ» ¹®ÀÚ¿")
°á°ú °ª return ==>
[strrchr]
ÇÔ¼ö¸í ==> strrchr()
¼³ ¸í ==> ¹®ÀÚ¿ÀÌ ¸¶Áö¸·À¸·Î ³ªÅ¸³ª´Â À§Ä¡ºÎÅÍ ³¡±îÁö ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strrchr("¹®ÀÚ¿","ãÀ»¹®ÀÚ¿")
°á°ú °ª return ==>
[strpos]
ÇÔ¼ö¸í ==> strpos()
¼³ ¸í ==> ¹®ÀÚ¿ ´ë½Å óÀ½À¸·Î ³ªÅ¸³ª´Â À§Ä¡¸¦ ¼ýÀÚ·Î ¹Ýȯ, À̶§ ¼ýÀÚ´Â 0ºÎÅÍ ½ÃÀÛ.
»ç¿ë Çü½Ä ==> strpos("¹®ÀÚ¿","ãÀ» ¹®ÀÚ¿")
°á°ú °ª return ==>
[strrpos]
ÇÔ¼ö¸í ==> strrpos()
¼³ ¸í ==> ã°íÀÚ ÇÏ´Â ¹®ÀÚ¿¿¡¼ ¸¶Áö¸·À¸·Î ³ªÅ¸³ª´Â À§Ä¡¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strrpos("¹®ÀÚ¿", "ãÀ» ¹®ÀÚ¿")
[strlen]
ÇÔ¼ö¸í ==> strlen()
¼³ ¸í ==> ¹®ÀÚ¿ÀÇ ±æÀ̸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strlen($º¯¼ö¸í) ¶Ç´Â strlen("¹®ÀÚ¿")
°á°ú °ª return ==>
[strtolower]
ÇÔ¼ö¸í ==> strtolower()
¼³ ¸í ==> ¾ËÆĺª ´ë¹®ÀÚ¸¦ ¸ðµÎ ¼Ò¹®ÀÚ·Î ¹Ù²Ù¾î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strtolower("¹®ÀÚ¿")
°á°ú °ª return ==>
[strtoupper]
ÇÔ¼ö¸í ==> strtoupper()
¼³ ¸í ==> ¾ËÆĺª ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²Ù¾î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> strtoupper("¹®ÀÚ¿")
°á°ú °ª return ==>
[ucfirst]
ÇÔ¼ö¸í ==> ucfirst()
¼³ ¸í ==> ¾ËÆĺª ¹®ÀÚ¿ÀÇ Ã¹ ±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> unfirst("¹®ÀÚ¿")
°á°ú °ª return ==>
[ucwords]
ÇÔ¼ö¸í ==> ucwords()
¼³ ¸í ==> ¾ËÆĺª ¹®ÀÚ¿ÀÇ Ã¹ ±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> ucwords("¹®ÀÚ¿")
°á°ú °ª return ==>
[strrev]
ÇÔ¼ö¸í ==> strrev()
¼³ ¸í ==> ÀÎÀÚ·Î Àü´ÞÇÑ ¹®ÀÚ¿ÀÇ ¼ø¼¸¦ ¿ªÀü½ÃŲ´Ù.
»ç¿ë Çü½Ä ==> strrev("¹®ÀÚ¿")
°á°ú °ª return ==>
[strtr]
ÇÔ¼ö¸í ==> strtr()
¼³ ¸í ==> ¹®ÀÚ¿¿¡¼ º¯°æÇÏ°íÀÚ ÇÏ´Â ¹®ÀÚ¿À» º¯°æÇÒ¹®ÀÚ¿·Î 1:1 º¯°æÇØÁØ´Ù.
»ç¿ë Çü½Ä ==> strtr("¹®ÀÚ¿","º¯°æÇÒ¹®ÀÚ¿","º¯°æÇÒ ¹®ÀÚ¿")
°á°ú °ª return ==>
[str_replace]
ÇÔ¼ö¸í ==> str_replace
¼³ ¸í ==> ¹®ÀÚ¿ Áß¿¡ º¯°æÇÏ°íÀÚ ÇÏ´Â ¹®ÀÚ¿À» ã¾Æ º¯È¯ÇÑ´Ù.
»ç¿ë Çü½Ä ==> str_replace("ãÀ»¹®ÀÚ¿","º¯°æÇÒ¹®ÀÚ¿","¹®ÀÚ¿ ¿øº»")
°á°ú °ª return ==>
[chop]
ÇÔ¼ö¸í ==> chop()
¼³ ¸í ==> ¹®ÀÚ¿ÀÇ µÞºÎºÐÀÇ °ø¹é ¹®ÀÚ¸¦ Á¦°ÅÇÑ ÈÄ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> chop("¹®ÀÚ¿")
°á°ú °ª return ==>
[trim]
ÇÔ¼ö¸í ==> trim()
¼³ ¸í ==> ¹®ÀÚ¿ÀÇ ¾Õ°ú µÚ¿¡ ÀÖ´Â °ø¹éÀ» Á¦°ÅÇÑ ÈÄ ¹®ÀÚ¿À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> trim("¹®ÀÚ¿")
°á°ú °ª return ==>
[quotemeta]
ÇÔ¼ö¸í ==> quotemeta()
¼³ ¸í ==> ¸ÞŸ¹®ÀÚ ¾Õ¿¡ ¿ª½½·¡½Ã¸¦ ºÙÀδÙ.
»ç¿ë Çü½Ä ==> quotemeta()
°á°ú °ª return ==>
[chr]
ÇÔ¼ö¸í ==> chr()
¼³ ¸í ==> ¾Æ½ºÅ°ÇÔ¼ö¿¡ ÇØ´çÇÏ´Â ¹®ÀÚ¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> chr("¾Æ½ºÅ°°ª")
°á°ú °ª return ==>
[ord]
ÇÔ¼ö¸í ==> ord()
¼³ ¸í ==> ¹®ÀÚ¿¿¡¼ ù¹ø° ¹®ÀÚ¿¡ ¾Æ½ºÅ°Äڵ尪À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> ord("¹®ÀÚ¿")
°á°ú °ª return ==>
[parse_str]
ÇÔ¼ö¸í ==> parse_str()
¼³ ¸í ==> get¹æ½Ä°ú °°Àº ÇüÅÂÀÇ º¯¼öÇüÀ» º¯¼ö¿Í °ªÀ¸·Î ¹ÞÀ» ¼ö ÀÖ°Ô ÇØÁØ´Ù.
»ç¿ë Çü½Ä ==> parse_str(º¯¼ö¸í)
°á°ú °ª return ==>
[fopen]
ÇÔ¼ö¸í ==> fopen()
¼³ ¸í ==> ·ÎÄðæ·ÎÀÇ ÆÄÀÏÀ̳ª url°æ·ÎÀÇ ÆÄÀÏÀ» Àб⠸ðµå³ª ¾²±â ¸ðµå·Î ¿¾îÁØ´Ù.
»ç¿ë Çü½Ä ==> fopen("Àý´ë°æ·Î¸í/ÆÄÀÏ", "¸ðµå"),fopen("urlÁÖ¼Ò", "¸ðµå")
°á°ú °ª return ==>
[fclose]
ÇÔ¼ö¸í ==> fclose()
¼³ ¸í ==> fopenÀ¸·Î ¿¸° ÆÄÀÏÀ» ´Ý´Â´Ù.
»ç¿ë Çü½Ä ==> fclose($fp)
°á°ú °ª return ==>
[fread]
ÇÔ¼ö¸í ==> fread()
¼³ ¸í ==> ÆÄÀÏÆ÷ÀÎÅÍ°¡ °¡¸®Å°´Â ÆÄÀÏÀÇ ³»¿ëÀ» ÁöÁ¤ÇÑ Å©±â¸¸Å ÀÐ¾î µéÀδÙ.
»ç¿ë Çü½Ä ==> fread($fp,"ÀоîµéÀÏ ¹ÙÀÌÆ®")
°á°ú °ª return ==>
[feof]
ÇÔ¼ö¸í ==> feof()
¼³ ¸í ==> ÇöÀç ÆÄÀÏ Æ÷ÀÎÅÍ°¡ ÆÄÀÏÀÇ ³¡ÀÎÁö¸¦ ¾Ë·ÁÁÖ´Â ÇÔ¼ö
»ç¿ë Çü½Ä ==> feof($fp)
°á°ú °ª return ==>
[fgets]
ÇÔ¼ö¸í ==> fgets()
¼³ ¸í ==> ÆÄÀÏÀ» Àоî¿Ã¶§ ÇÑÁÙ¾¿ Àоî¿Â´Ù.
»ç¿ë Çü½Ä ==> fgets($fp,"ÀоîµéÀÏ ¹ÙÀÌÆ®")
°á°ú °ª return ==>
[fputs]
ÇÔ¼ö¸í ==> fputs()
¼³ ¸í ==> ÆÄÀÏÀ» a ¶Ç´Â w ¸ðµå·Î ¿¾î ¹®ÀÚ¿À» ÆÄÀÏ¿¡ ±â·ÏÇÑ´Ù.
»ç¿ë Çü½Ä ==> fputs($fp, "¹®ÀÚ¿")
°á°ú °ª return ==>
[fwirte]
ÇÔ¼ö¸í ==> fwirte()
¼³ ¸í ==> ÆÄÀÏÀ» ±â·ÏÇÑ´Ù.
»ç¿ë Çü½Ä ==> fwrite($fp, "¹®ÀÚ¿")
°á°ú °ª return ==>
[fpassthru]
ÇÔ¼ö¸í ==> fpassthru()
¼³ ¸í ==> ÆÄÀÏÆ÷ÀÎÅÍÀÇ ÇöÀç À§Ä¡¿¡¼ ÆÄÀÏÀÇ ³¡±îÁö ÀÐ¾î µéÀ̵µ·Ï ÇÑ´Ù.
»ç¿ë Çü½Ä ==> fpassthru($fp)
°á°ú °ª return ==>
[readfile]
ÇÔ¼ö¸í ==> readfile()
¼³ ¸í ==> fpassthru¿Í ºñ½ÁÇÏÁö¸¸ fopen()¾øÀÌ Á÷Á¢ ¹Ù·Î ÆÄÀÏÀ» ÀоîµéÀÏ ¼ö ÀÖ´Ù. ÀоîµéÀÎ ÆÄÀÏÀÇ Àý´ë°æ·Î¸¦ Æ÷ÇÔÇÑ´Ù.
»ç¿ë Çü½Ä ==> readfile("ÆÄÀÏÀÇ Àý´ë°æ·Î ¶Ç´Â »ó´ë°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[fgetc]
ÇÔ¼ö¸í ==> fgetc()
¼³ ¸í ==> ÆÄÀϷκÎÅÍ Çѹ®ÀÚ¸¦ ÀоîµéÀδÙ.
»ç¿ë Çü½Ä ==> fgetc($fp)
°á°ú °ª return ==>
[filesize]
ÇÔ¼ö¸í ==> filesize()
¼³ ¸í ==> ÆÄÀÏÀÇ Å©±â¸¦ ¹ÙÀÌÆ®¼ö·Î ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> filesize("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[file_exists]
ÇÔ¼ö¸í ==> file_exists()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ ÆÄÀÏÀÌ Á¸ÀçÇÏ´ÂÁö °Ë»çÇÑ´Ù.
»ç¿ë Çü½Ä ==> file_exists("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[is_file]
ÇÔ¼ö¸í ==> is_file()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ À̸§ÀÌ ÆÄÀϸé true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_file("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[is_dir]
ÇÔ¼ö¸í ==> is_dir()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ À̸§ÀÌ µð·ºÅ丮ÀÏ°æ¿ì true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_dir("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[is_link]
ÇÔ¼ö¸í ==> is_link()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ À̸§ÀÌ ½Éº¼¸¯ ¸µÅ©ÀÏ°æ¿ì true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_link("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[is_escutable]
ÇÔ¼ö¸í ==> is_escutable()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ ÆÄÀÏÀÌ ½ÇÇà °¡´ÉÇÑ ÆÄÀÏÀ̸é true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_excutable("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[is_readable]
ÇÔ¼ö¸í ==> is_readable()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ Àб⠰¡´ÉÇÑ°æ¿ì true¸¦ ¹ÝȯÇÑ´Ù
»ç¿ë Çü½Ä ==> is_readable("ÆÄÀÏ°æ·Î/ÆÄÀÏ¸í ¶Ç´Â µð·ºÅ丮¸í")
°á°ú °ª return ==>
[is_writeable]
ÇÔ¼ö¸í ==> is_writeable()
¼³ ¸í ==> ÆÄÀÏÀ̸§À¸·Î ÁöÁ¤ÇÑ ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾²±â °¡´ÉÇÑ °æ¿ì true¸¦ ¹ÝȯÇÑ´Ù
»ç¿ë Çü½Ä ==> is_writeable("ÆÄÀÏ°æ·Î/ÆÄÀÏ¸í ¶Ç´Â µð·ºÅ丮¸í")
°á°ú °ª return ==>
[copy]
ÇÔ¼ö¸í ==> copy()
¼³ ¸í ==> ÆÄÀÏÀ» º¹»çÇÏ°í Á¦´ë·Î ¼öÇàÀÌ µÇ¸é true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> copy("ÆÄÀÏ°æ·Î/º¹»çÇÒ ÆÄÀϸí", "ÆÄÀÏ°æ·Î/º¹»çµÈ ÆÄÀϸí")
°á°ú °ª return ==>
[rename]
ÇÔ¼ö¸í ==> rename()
¼³ ¸í ==> ÆÄÀÏÀ» À̸§À» ¹Ù²Û´Ù. Á¦´ë·Î ¼öÇàÀÌ µÇ¸é true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> rename("ÆÄÀÏ°æ·Î/º¯°æÇÒ ÆÄÀϸí", "ÆÄÀÏ°æ·Î/º¯°æÈÄ ÆÄÀϸí")
°á°ú °ª return ==>
[unlink]
ÇÔ¼ö¸í ==> unlink()
¼³ ¸í ==> ÆÄÀÏÀ» »èÁ¦ÇÑ´Ù. Á¦´ë·Î ¼öÇàµÉ °æ¿ì true¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> unlink("ÆÄÀÏ°æ·Î/»èÁ¦ÇÒ ÆÄÀϸí")
°á°ú °ª return ==>
[mkdir]
ÇÔ¼ö¸í ==> mkdir()
¼³ ¸í ==> µð·ºÅ丮¸¦ »ý»óÇÏ°í µ¿½Ã¿¡ ±ÇÇѵµ ÇÔ²² ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù.
»ç¿ë Çü½Ä ==> mkdir("°æ·Î/µð·ºÅ丮¸í")
°á°ú °ª return ==>
[rmdir]
ÇÔ¼ö¸í ==> rmdir()
¼³ ¸í ==> µð·ºÅ丮 »èÁ¦
»ç¿ë Çü½Ä ==> rmdir("°æ·Î/µð·ºÅ丮¸í")
°á°ú °ª return ==>
[basename]
ÇÔ¼ö¸í ==> basename()
¼³ ¸í ==> °æ·Î¸í°ú ÆÄÀϸíÀ» ¹Þ¾Æ ÆÄÀÏ¸í¸¸À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> basename("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[dirname]
ÇÔ¼ö¸í ==> dirname()
¼³ ¸í ==> °æ·Î¸í°ú ÆÄÀϸíÀ» ¹Þ¾Æ °æ·Î¸í¸¸À» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> dirname("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[file]
ÇÔ¼ö¸í ==> file()
¼³ ¸í ==> ÁÙ´ÜÀ§·Î ÀÐ¾î¼ °¢ ÁÙÀ¸ ¹®ÀÚ¿À» ¹è¿·Î ÇÏ¿© ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> dirname("ÆÄÀÏ°æ·Î/ÆÄÀϸí")
°á°ú °ª return ==>
[opendir]
ÇÔ¼ö¸í ==> opendir()
¼³ ¸í ==> ÁöÁ¤ÇÑ µð·ºÅ丮¿¡ ´ëÇÑ ÇÚµéÀ» ¾ò´Â´Ù.
»ç¿ë Çü½Ä ==> opendir("µð·ºÅ丮 °æ·Î")
°á°ú °ª return ==>
[closedir]
ÇÔ¼ö¸í ==> closedir()
¼³ ¸í ==> opendir()ÇÔ¼ö È£Ãâ·Î ¿¾îµÐ µð·ºÅ丮¿¡ ´ëÇÑ ÇÚµéÀ» ´Ý´Â´Ù.
»ç¿ë Çü½Ä ==> closedir($od)
°á°ú °ª return ==>
[readdir]
ÇÔ¼ö¸í ==> readdir()
¼³ ¸í ==> µð·ºÅ丮¿¡ ÀÖ´Â ¸ðµç µð·ºÅ丮 ¹× ÆÄÀϵéÀÇ À̸§À» ÀÐ¾î ¹è¿ÀÇ ÇüÅ·Π¹Ýȯ
»ç¿ë Çü½Ä ==> readdir($od)
°á°ú °ª return ==>
[rewinddir]
ÇÔ¼ö¸í ==> rewinddir()
¼³ ¸í ==> µð·ºÅ丮 ÇÚµéÀÇ Æ÷ÀÎÅÍ À§Ä¡¸¦ Á¦ÀÏ Ã³À½À¸·Î µÇµ¹¸°´Ù.
»ç¿ë Çü½Ä ==> rewinddir($od)
°á°ú °ª return ==>
[chdir]
ÇÔ¼ö¸í ==> chdir()
¼³ ¸í ==> ÁöÀúÇÑ µð·ºÅ丮·Î ¹Ù²Û´Ù.
»ç¿ë Çü½Ä ==> chdir("°æ·Î¸í/µð·ºÅ丮¸í")
°á°ú °ª return ==>
[dir]
ÇÔ¼ö¸í ==> dir()
¼³ ¸í ==> µð·ºÅ丮 °ü·Ã ÇÔ¼ö¸¦ »ç¿ëÇÒ ¼ö Àִ Ŭ·¡½º
»ç¿ë Çü½Ä ==> dir("°æ·Î/µð·ºÅ丮¸í")
°á°ú °ª return ==>
[parse_url]
ÇÔ¼ö¸í ==> parse_url()
¼³ ¸í ==> urlÀ» ÀÔ·ÂÇϸé ÇØ´ç url¿¡ ´ëÇÑ Á¤º¸¸¦ ¿¬°ü ¹è¿·Î ÀúÀåÇÏ¿© ¹Ýȯ
»ç¿ë Çü½Ä ==> parse_url("URLÁÖ¼Ò")
°á°ú °ª return ==>
[urlencode]
ÇÔ¼ö¸í ==> urlencode()
¼³ ¸í ==> µ¥ÀÌÅ͸¦ urlÀÎÄÚµùÇØÁØ´Ù.
»ç¿ë Çü½Ä ==> urlencode("¹®ÀÚ¿")
°á°ú °ª return ==>
[urldecode]
ÇÔ¼ö¸í ==> urldecode()
¼³ ¸í ==> urlÀ» ÅëÇØ ³Ñ¾î¿Â °ª Áß ÀÎÄÚµùµÈ ¹®ÀÚ¿À» µðÄÚµùÇÑ´Ù.
»ç¿ë Çü½Ä ==> urldecode("¹®ÀÚ¿")
°á°ú °ª return ==>
[gettype]
ÇÔ¼ö¸í ==> gettype()
¼³ ¸í ==> º¯¼öÇüÀ» ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> gettype("º¯¼ö¸í")
°á°ú °ª return ==>
[settype]
ÇÔ¼ö¸í ==> settype()
¼³ ¸í ==> º¯¼öÇüÀ» º¯È¯ÇÑ´Ù.
»ç¿ë Çü½Ä ==> settype("º¯¼ö¸í", "º¯¼öŸÀÔ")
°á°ú °ª return ==>
[intval]
ÇÔ¼ö¸í ==> intval()
¼³ ¸í ==> º¯¼ö°ªÀ» Á¤¼öÇü °ªÀ¸·Î º¯È¯
»ç¿ë Çü½Ä ==> intval("º¯¼ö°ª")
°á°ú °ª return ==>
[doubleval!!]
ÇÔ¼ö¸í ==> doubleval!!()
¼³ ¸í ==> º¯¼ö°ªÀ» ½Ç¼öÇü °ªÀ¸·Î º¯È¯ÇÑ´Ù.
»ç¿ë Çü½Ä ==> doubleval!!("º¯¼ö°ª")
°á°ú °ª return ==>
[strval]
ÇÔ¼ö¸í ==> strval()
¼³ ¸í ==> º¯¼ö¸¦ ¹®ÀÚÇü °ªÀ¸·Î º¯È¯ÇÑ´Ù.
»ç¿ë Çü½Ä ==> strval("º¯¼ö°ª")
°á°ú °ª return ==>
[isset]
ÇÔ¼ö¸í ==> isset()
¼³ ¸í ==> º¯¼ö°¡ Á¸ÀçÇÏ´ÂÁö È®ÀÎÇÑ´Ù.
»ç¿ë Çü½Ä ==> isset("º¯¼ö¸í")
°á°ú °ª return ==>
[unset]
ÇÔ¼ö¸í ==> unset()
¼³ ¸í ==> º¯¼ö¸¦ »èÁ¦ÇÑ´Ù.
»ç¿ë Çü½Ä ==> unset("º¯¼ö¸í")
°á°ú °ª return ==>
[empty]
ÇÔ¼ö¸í ==> empty()
¼³ ¸í ==> º¯¼ö¿¡ °ªÀÌ Á¸ÀçÇÏ´ÂÁö È®ÀÎÇÏ¿© ¾øÀ¸¸é true¸¦ ÀÖÀ¸¸é false¸¦ ¹ÝȯÇÑ´Ù.
»ç¿ë Çü½Ä ==> empty("º¯¼ö¸í")
°á°ú °ª return ==>
[is_array]
ÇÔ¼ö¸í ==> is_array()
¼³ ¸í ==> º¯¼öÀÇ ÇüÀÌ ¹è¿ÀÎÁö È®ÀÎÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_array("º¯¼ö¸í")
°á°ú °ª return ==>
[is_double]
ÇÔ¼ö¸í ==> is_double
¼³ ¸í ==> º¯¼öÀÇ ÇüÀÌ ´õºíÇüÀÎÁö È®ÀÎÇÑ´Ù.
»ç¿ë Çü½Ä ==> is_double("º¯¼ö¸í")
°á°ú °ª return ==>
[abs]
ÇÔ¼ö¸í ==> abs()
¼³ ¸í ==> º¯¼öÀÇ Àý´ë°ªÀ» ¹Ýȯ
»ç¿ë Çü½Ä ==> abs("º¯¼ö¸í")
°á°ú °ª return ==>
[round]
ÇÔ¼ö¸í ==> round()
¼³ ¸í ==> º¯¼öÀÇ ¹Ý¿Ã¸²ÇÑ °ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> round("º¯¼ö¸í")
°á°ú °ª return ==>
[crypt]
ÇÔ¼ö¸í ==> crypt();
»ç¿ë Çü½Ä ==> crypt("¹®ÀÚ¿","¾ÏȣŰ");
¼³ ¸í ==> ƯÁ¤¹®ÀÚ¿À» ¾Ïȣ۸¦ ÀÌ¿ëÇÏ¿© ¾ÏÈ£È ÇÑ´Ù.
°á°ú °ª return ==>
[ceil]
ÇÔ¼ö¸í ==> ceil()
¼³ ¸í ==> º¯¼ö °ªÀÇ ¹«Á¶°Ç ¿Ã¸² °ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> ceil("º¯¼ö¸í")
°á°ú °ª return ==>
[floor]
ÇÔ¼ö¸í ==> floor()
¼³ ¸í ==> º¯¼ö°ªÀÇ ¹«Á¶°Ç ³»¸² °ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> floor("º¯¼ö¸í")
°á°ú °ª return ==>
[pow]
ÇÔ¼ö¸í ==> pow()
¼³ ¸í ==> ÀÎÀÚ °ª¸¸Å Á¦°ö½Â ÇÑ °ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> pow("º¯¼ö¸í", "Á¦°öÇÒ È½¼ö")
°á°ú °ª return ==>
[min]
ÇÔ¼ö¸í ==> min()
¼³ ¸í ==> ÃÖ¼Ò°ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> min("¼ýÀÚ°ª", "¼ýÀÚ°ª",...)
°á°ú °ª return ==>
[max]
ÇÔ¼ö¸í ==> max()
¼³ ¸í ==> ÃÖ´ë°ªÀ» ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> max("¼ýÀÚ°ª", "¼ýÀÚ°ª",...)
°á°ú °ª return ==>
[count]
ÇÔ¼ö¸í ==> count()
¼³ ¸í ==> ¹è¿ÀÇ Å©±â¸¦ ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> count("º¯¼ö¸í")
°á°ú °ª return ==>
[sizeof]
ÇÔ¼ö¸í ==> sizeof()
¼³ ¸í ==> ¹è¿ÀÇ Å©±â¸¦ ±¸ÇÑ´Ù.
»ç¿ë Çü½Ä ==> sizeof("º¯¼ö¸í")
°á°ú °ª return ==>
[each]
ÇÔ¼ö¸í ==> each()
¼³ ¸í ==> ¹è¿ÀÇ ³»¿ëÀ» Ãâ·ÂÇÒ¶§ »ç¿ëÇÑ´Ù.
»ç¿ë Çü½Ä ==> each("¹è¿º¯¼ö¸í")
°á°ú °ª return ==>
[list]
ÇÔ¼ö¸í ==> list()
¼³ ¸í ==> ¹è¿ÀÇ ³»¿ëÀ» Ãâ·ÂÇÒ¶§ »ç¿ëÇÑ´Ù.
»ç¿ë Çü½Ä ==> list("¹è¿ÀÇ ÀÎÀÚ¸¦ ¹ÞÀ» º¯¼ö¸í", "¹è¿ÀÇ ÀÎÀÚ¸¦ ¹ÞÀ» º¯¼ö¸í"...)
°á°ú °ª return ==>
[end]
ÇÔ¼ö¸í ==> end()
¼³ ¸í ==> ÇöÀç ¹è¿ÀÇ Æ÷ÀÎÅ͸¦ ³¡À¸·Î À̵¿½ÃŲ´Ù.
»ç¿ë Çü½Ä ==> end("¹è¿º¯¼ö¸í")
°á°ú °ª return ==>
[next]
ÇÔ¼ö¸í ==> next()
¼³ ¸í ==> ÇöÀç ¹è¿ÀÇ Æ÷ÀÎÅ͸¦ ´ÙÀ½À¸·Î À̵¿½ÃŲ´Ù.
»ç¿ë Çü½Ä ==> next("¹è¿º¯¼ö¸í")
°á°ú °ª return ==>
[reset]
ÇÔ¼ö¸í ==> reset()
¼³ ¸í ==> resetÀº ¹è¿Æ÷ÀÎÅ͸¦ ´Ù½Ã óÀ½À¸·Î µÇµ¹¸°´Ù.
»ç¿ë Çü½Ä ==> reset("¹è¿º¯¼ö¸í")
°á°ú °ª return ==>
[exec]
ÇÔ¼ö¸í ==> exec()
¼³ ¸í ==> ¸®´ª½º ¼¹öÀÇ ³»ºÎ ¸í·É¾î¸¦ »ç¿ëÇÏ°Ô ÇÑ´Ù.
»ç¿ë Çü½Ä ==> exec("¸®´ª½º¸í·É¾î", "°á°ú¸¦ ÀúÀåÇÒ º¯¼ö¸í" ,"¿¡·¯¹ß»ý½Ã ÀúÀåÇÒ º¯¼ö¸í")
°á°ú °ª return ==>
[number_format]
ÇÔ¼ö¸í ==> number_format()
¼³ ¸í ==> õ´ÜÀ§¸¶´Ù ","¸¦ ºÙ¿©ÁØ´Ù.
»ç¿ë Çü½Ä ==> number_format("º¯¼ö¸í", "¼Ò¼öÁ¡ÀÚ¸®¼ö", "¼Ò¼öÁ¡ Ç¥½Ã¸¶Å©º¯°æ", "õ´ÜÀ§ Ç¥½Ã ¸¶Å©º¯°æ")
°á°ú °ª return ==>
[show_source]
ÇÔ¼ö¸í ==> show_source()
¼³ ¸í ==> phpÆÄÀÏÀÇ ¼Ò½º¸¦ º¸¿©ÁØ´Ù.
»ç¿ë Çü½Ä ==> show_source("°æ·Î¸í/ÆÄÀϸí")
°á°ú °ª return ==>
[highlight_string]
ÇÔ¼ö¸í ==> highlight_string()
¼³ ¸í ==> phpÆÄÀÏÀÇ ¼Ò½º¸¦ º¸¿©ÁØ´Ù.
»ç¿ë Çü½Ä ==> show_source("°æ·Î¸í/ÆÄÀϸí")
°á°ú °ª return ==>
[uniqid]
ÇÔ¼ö¸í ==> uniqid()
¼³ ¸í ==> À¯ÀÏÇÑ ¾ÆÀ̵𠰪À» ¸¸µé¾îÁØ´Ù
»ç¿ë Çü½Ä ==> uniqid()
°á°ú °ª return ==>
[PHP_SELF]
ÇÔ¼ö¸í ==> $PHP_SELF
»ç¿ë Çü½Ä ==> $PHP_SELF
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> document root¸¦ ±âÁØÀ¸·Î ÇÑ ÇöÀç ½ÇÇàÁßÀÎ ½ºÅ©¸³Æ®ÀÇ ÆÄÀÏ À̸§. PHP¸¦ Ä¿¸Çµå¶óÀÎÀ¸·Î »øÇàÇÑ °æ¿ì ÀÌ º¯¼ö´Â »ç¿ëÇÒ ¼ö ¾ø´Ù.
[HTTP_COOKIE_VARS]
ÇÔ¼ö¸í ==> $HTTP_COOKIE_VARS
»ç¿ë Çü½Ä ==> $HTTP_COOKIE_VARS
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ HTTP ÄíÅ°¸¦ »ç¿ëÇØ Àü´ÞµÈ º¯¼öÀÇ associative ¹è¿
[HTTP_GET_VARS]
ÇÔ¼ö¸í ==> $HTTP_GET_VARS
»ç¿ë Çü½Ä ==> $HTTP_GET_VARS
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ HTTP GET ¸Þ¼Òµå¸¦ »ç¿ëÇØ Àü´ÞµÈ º¯¼öÀÇ associative ¹è¿
[HTTP_POST_VARS]
ÇÔ¼ö¸í ==> $HTTP_POST_VARS
»ç¿ë Çü½Ä ==> $HTTP_POST_VARS
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ HTTP POST ¸Þ¼Òµå¸¦ »ç¿ëÇØ Àü´ÞµÈ º¯¼öÀÇ associative ¹è¿
[HTTP_POST_FILES]
ÇÔ¼ö¸í ==> $HTTP_POST_FILES
»ç¿ë Çü½Ä ==> $HTTP_POST_FILES
°á°ú °ª return ==>
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ HTTP POST ¸Þ¼Òµå¸¦ »ç¿ëÇØ ¾÷·ÎµåµÈ ÆÄÀÏ¿¡ ´ëÇÑ Á¤º¸¸¦ °¡Áø associative ¹è¿
[HTTP_ENV_VARS]
ÇÔ¼ö¸í ==> $HTTP_ENV_VARS
»ç¿ë Çü½Ä ==> $HTTP_ENV_VARS
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ ÇöÀç ȯ°æ º¯¼ö¿¡¼ Àü´ÞµÈ º¯¼öÀÇ associative ¹è¿
[HTTP_SERVER_VARS]
ÇÔ¼ö¸í ==> $HTTP_SERVER_VARS
»ç¿ë Çü½Ä ==> $HTTP_SERVER_VARS
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®¿¡ HTTP ¼¹ö¿¡¼ Àü´ÞµÈ º¯¼öÀÇ associative ¹è¿ ÀÌ º¯¼öµéÀº À§¿¡¼ ¾ð±ÞÇÑ Apache º¯¼öµé°ú À¯»çÇÑ ³»¿ëÀ¸·Î µÇ¾îÀÖ´Ù.
[GATEWAY_INTERFACE]
ÇÔ¼ö¸í ==> $GATEWAY_INTERFACE
»ç¿ë Çü½Ä ==> $GATEWAY_INTERFACE
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ¼¹ö°¡ »ç¿ëÇÏ°í ÀÖ´Â CGI specificationÀÇ revision. ¿¹: 'CGI/1.1'.
[SERVER_NAME]
ÇÔ¼ö¸í ==> $SERVER_NAME
»ç¿ë Çü½Ä ==> $SERVER_NAME
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®°¡ ½ÇÇàµÇ°í Àִ ȣ½ºÆ®ÀÇ À̸§. ¸¸¾à ½ºÅ©¸³Æ®°¡ °¡»ó È£½ºÆ®¿¡¼ ½ÇÇàµÇ°í ÀÖ´Ù¸é, ÀÌ °ªÀº °¡»ó È£½ºÆ®ÀÇ °ªÀÌ µÉ °ÍÀÌ´Ù.
[SERVER_SOFTWARE]
ÇÔ¼ö¸í ==> $SERVER_SOFTWARE
»ç¿ë Çü½Ä ==> $SERVER_SOFTWARE
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ¿ä±¸¿¡ ´ëÇÑ ´ë´äÀÇ Çì´õ¿¡ »ç¿ëÇÒ ¼¹ö identification ¹®ÀÚ¿
[SERVER_PROTOCOL]
ÇÔ¼ö¸í ==> $SERVER_PROTOCOL
»ç¿ë Çü½Ä ==> $SERVER_PROTOCOL
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÆäÀÌÁö°¡ ¿ä±¸µÇ¾îÁú ¶§ »ç¿ëÇÑ ÇÁ·ÎÅäÄÝÀÇ À̸§°ú ¸®ºñÁ¯. ¿¹: 'HTTP/1.0';
[REQUEST_METHOD]
ÇÔ¼ö¸í ==> $REQUEST_METHOD
»ç¿ë Çü½Ä ==> $REQUEST_METHOD
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÆäÀÌÁö°¡ ¿ä±¸µÉ ¶§ »ç¿ëµÈ method: ¿¹: 'GET', 'HEAD', 'POST', 'PUT'.
[QUERY_STRING]
ÇÔ¼ö¸í ==> $QUERY_STRING
»ç¿ë Çü½Ä ==> $QUERY_STRING
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇØ´ç ÆäÀÌÁö¸¦ Á¢±ÙÇÒ ¶§ »ç¿ëµÈ query string.
[DOCUMENT_ROOT]
ÇÔ¼ö¸í ==> $DOCUMENT_ROOT
»ç¿ë Çü½Ä ==> $DOCUMENT_ROOT
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®°¡ »øÇàÁßÀÎ document root µð·ºÅ丮. ¼¹öÀÇ ¼³Á¤ ÆÄÀÏ¿¡ Á¤ÀǵǾî ÀÖ´Ù.
[HTTP_ACCEPT]
ÇÔ¼ö¸í ==> $HTTP_ACCEPT
»ç¿ë Çü½Ä ==> $HTTP_ACCEPT
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Accept: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸)
[HTTP_ACCEPT_CHARSET]
ÇÔ¼ö¸í ==> $HTTP_ACCEPT_CHARSET
»ç¿ë Çü½Ä ==> $HTTP_ACCEPT_CHARSET
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Accept-Charset: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸). ¿¹: 'iso-8859-1,*,utf-8'.
[HTTP_ACCEPT_ENCODING]
ÇÔ¼ö¸í ==> $HTTP_ACCEPT_ENCODING
»ç¿ë Çü½Ä ==> $HTTP_ACCEPT_ENCODING
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Accept-Encoding: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸). ¿¹: 'gzip'.
[HTTP_ACCEPT_LANGUAGE]
ÇÔ¼ö¸í ==> $HTTP_ACCEPT_LANGUAGE
»ç¿ë Çü½Ä ==> $HTTP_ACCEPT_LANGUAGE
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Accept-Language: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸). ¿¹: 'en'.
[HTTP_CONNECTION]
ÇÔ¼ö¸í ==> $HTTP_CONNECTION
»ç¿ë Çü½Ä ==> $HTTP_CONNECTION
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Connection: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸). ¿¹: 'Keep-Alive'.
[HTTP_HOST]
ÇÔ¼ö¸í ==> $HTTP_HOST
»ç¿ë Çü½Ä ==> $HTTP_HOST
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸(request)¿¡ Æ÷ÇÔµÈ Host: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸).
[HTTP_REFERER]
ÇÔ¼ö¸í ==> $HTTP_REFERER
»ç¿ë Çü½Ä ==> $HTTP_REFERER
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ÆäÀÌÁö¸¦ ã¾Æ¿Â ÆäÀÌÁö.
[HTTP_USER_AGENT]
ÇÔ¼ö¸í ==> $HTTP_USER_AGENT
»ç¿ë Çü½Ä ==> $HTTP_USER_AGENT
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀçÀÇ ¿ä±¸¿¡ Æ÷ÇÔµÈ User_Agent: Çì´õÀÇ ³»¿ë (Á¸ÀçÇÏ´Â °æ¿ì¸¸).
[REMOTE_ADDR]
ÇÔ¼ö¸í ==> $REMOTE_ADDR
»ç¿ë Çü½Ä ==> $REMOTE_ADDR
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> »ç¿ëÀÚ°¡ ÇöÀç ÆäÀÌÁö¸¦ º¸°í ÀÖ´Â ½Ã½ºÅÛÀÇ IP ÁÖ¼Ò
[REMOTE_PORT]
ÇÔ¼ö¸í ==> $REMOTE_PORT
»ç¿ë Çü½Ä ==> $REMOTE_PORT
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> »ç¿ëÀÚÀÇ ½Ã½ºÅÛÀÌ À¥¼¹ö¿Í Åë½ÅÇÏ°í ÀÖ´Â port ¹øÈ£
[SCRIPT_FILENAME]
ÇÔ¼ö¸í ==> $SCRIPT_FILENAME
»ç¿ë Çü½Ä ==> $SCRIPT_FILENAME
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ÇÇàµÇ°í ÀÖ´Â ½ºÅ©¸³Æ®ÀÇ Àý´ë °æ·Î¸í
[SERVER_ADMIN]
ÇÔ¼ö¸í ==> $SERVER_ADMIN
»ç¿ë Çü½Ä ==> $SERVER_ADMIN
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> À¥¼¹ö ¼³Á¤ ÆÄÀÏ¿¡¼ SERVER_ADMIN (ApacheÀÇ ¿¹) Áö½ÃÀÚ¿¡ ¼³Á¤µÇ¾î ÀÖ´Â °ª.
[SERVER_PORT]
ÇÔ¼ö¸í ==> $SERVER_PORT
»ç¿ë Çü½Ä ==> $SERVER_PORT
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> À¥¼¹ö°¡ »ç¿ëÇÏ´Â port ¹øÈ£. ±âº»°ªÀ¸·Î º¸Åë '80'ÀÌ »ç¿ë.
[SERVER_SIGNATURE]
ÇÔ¼ö¸í ==> $SERVER_SIGNATURE
»ç¿ë Çü½Ä ==> $SERVER_SIGNATURE
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> server-generated ÆäÀÌÁö¿¡ Ãß°¡µÇ´Â ¼¹ö ¹öÀü°ú °¡»ó È£½ºÆ® ¸í. (enabledµÈ °æ¿ì¸¸)
[PATH_TRANSLATED]
ÇÔ¼ö¸í ==> $PATH_TRANSLATED
»ç¿ë Çü½Ä ==> $PATH_TRANSLATED
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ¸ðµç virtualÀ» real·ÎÀÇ ÀüȯÀ» ¸¶Ä£ ÈÄ, ÇöÀç ÆäÀÌÁöÀÇ ÆÄÀϽýºÅÛ ±âÁØÀÇ °æ·Î. (document root ±âÁØÀÌ ¾Æ´Ï´Ù.)
[SCRIPT_NAME]
ÇÔ¼ö¸í ==> $SCRIPT_NAME
»ç¿ë Çü½Ä ==> $SCRIPT_NAME
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÇöÀç ½ºÅ©¸³Æ®ÀÇ °æ·Î. ÀÌ°ÍÀº ÇØ´ç ÆäÀÌÁö°¡ ÀÚ±â ÀÚ½ÅÀ» °¡¸®Å³ ¶§ »ç¿ëÇϸé À¯¿ëÇÏ´Ù.
[REQUEST_URI]
ÇÔ¼ö¸í ==> $REQUEST_URI
»ç¿ë Çü½Ä ==> $REQUEST_URI
°á°ú °ª return ==> ¹®ÀÚ¿
¼³ ¸í ==> ÀÌ ÆäÀÌÁö¸¦ Á¢±ÙÇϱâ À§ÇØ »ç¿ëÇÑ URI. ¿¹: '/index.html'.
[mysql_connect]
ÇÔ¼ö¸í ==> mysql_connect();
»ç¿ë Çü½Ä ==> mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd)
°á°ú °ª return ==> mysql/NULL
¼³ ¸í ==> µ¥ÀÌÅͺ£À̽º ¿£Áø°ú ¿¬°áÀ» ¼³Á¤ÇÏ´Â ÇÔ¼ö
[mysql_select_db]
ÇÔ¼ö¸í ==> mysql_select_db();
»ç¿ë Çü½Ä ==> mysql_select_db(MYSQL *mysql, const char *db)
°á°ú °ª return ==> int
¼³ ¸í ==> mysql_connect() ÇÔ¼ö°¡ ¼º°øÀûÀ¸·Î ¼öÇàµÈ ÈÄ¿¡ È£ÃâÇÏ´Â ÇÔ¼ö ¼¹ö¿¡¼ °ü¸®ÇÏ°í ÀÖ´Â µ¥ÀÌÅͺ£À̽º Áß Á¢±ÙÇÏ·Á´Â µ¥ÀÌÅͺ£À̽º¸¦ ¼±ÅÃÇÏ´Â ÇÔ¼ö
[mysql_query]
ÇÔ¼ö¸í ==> mysql_query();
»ç¿ë Çü½Ä ==> mysql_query(MYSQL *mysql, const char *query);
°á°ú °ª return ==> int
¼³ ¸í ==> mysql¿¡ ÀÇÇؼ ÁöÁ¤µÈ µ¥ÀÌÅͺ£À̽º¿¡ query¿¡ ÀÇÇؼ ÁöÁ¤µÈ SQL Äõ¸®¸¦ ½ÇÇàÇÑ´Ù.
[mysql_store_result]
ÇÔ¼ö¸í ==> mysql_store_result();
»ç¿ë Çü½Ä ==> mysql_store_result(MYSQL *mysql);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> mysql_query°¡ ¼º°øÀûÀ¸·Î ½ÇÇàµÈ ÈÄ ±× °á°ú¸¦ Àд´Ù.
[mysql_fetch_row]
ÇÔ¼ö¸í ==> mysql_fetch_row();
»ç¿ë Çü½Ä ==> mysql_fetch_row(MYSQL_RES *res);
°á°ú °ª return ==> MYSQL_ROW
¼³ ¸í ==> Äõ¸® °á°ú·ÎºÎÅÍ ´ÙÀ½ ÁÙ(row)À» ºÒ·¯¿Â´Ù. ´õ ÀÌ»ó ºÒ·¯¿Ã µ¥ÀÌÅÍ°¡ ¾øÀ¸¸é, NULLÀ» ¸®ÅÏÇÑ´Ù.
[mysql_num_fields]
ÇÔ¼ö¸í ==> mysql_num_fields();
»ç¿ë Çü½Ä ==> mysql_num_fields(MYSQL_RES *result);
°á°ú °ª return ==> int
¼³ ¸í ==> Äõ¸® °á°ú¿¡ ÀÖ´Â Ä÷³(fields)ÀÇ ¼ýÀÚ¸¦ ¸®ÅÏÇÏ´Â ¸ÅÅ©·Î ÇÔ¼ö
[mysql_num_rows]
ÇÔ¼ö¸í ==> mysql_num_rows();
»ç¿ë Çü½Ä ==> mysql_num_rows(MYSQL_RES *result);
°á°ú °ª return ==> int
¼³ ¸í ==> °¡Àå ÃÖ±Ù¿¡ Ÿ ÇÔ¼ö¿¡ ÀÇÇؼ ¸®ÅÏµÈ Çà¼ö(ROW)¸¦ ¸®ÅÏÇÏ´Â ¸ÅÅ©·Î ÇÔ¼ö(°Ë»ö°á°ú °¹¼ö ¸®ÅÏ)
[mysql_close]
ÇÔ¼ö¸í ==> mysql_close();
»ç¿ë Çü½Ä ==> mysql_close(MYSQL *mysql);
°á°ú °ª return ==> void
¼³ ¸í ==> µ¥ÀÌÅÍ º£À̽º ¿£Áø°úÀÇ ¿¬°áÀ» ´Ý´Â´Ù. ¸ðµç ÀÛ¾÷ÀÌ ¿Ï·áµÈ ÈÄ¿¡´Â mysql_closeÀ¸·Î connectionÀ» ´Ý¾Æ¾ßÇÔ. º¹±Í °ª : ¾øÀ½
[mysql_eof]
ÇÔ¼ö¸í ==> mysql_eof();
»ç¿ë Çü½Ä ==> mysql_eof(MYSQL_RES *);
°á°ú °ª return ==> int
¼³ ¸í ==> fetchÇÒ ÀÚ·á°¡ ´õ ÀÖ´ÂÁö¸¦ °Ë»çÇÑ´Ù.
[mysql_error]
ÇÔ¼ö¸í ==> mysql_error();
»ç¿ë Çü½Ä ==> mysql_error(MYSQL *mysql);
°á°ú °ª return ==> char
¼³ ¸í ==> mysql ¿¬°á¿¡¼ °¡Àå ÃÖ±Ù¿¡ È£ÃâµÈ MySQL ÇÔ¼öÀÇ ¿À·ù ¸Þ½ÃÁö ¹®ÀÚ¿À» ¸®ÅÏÇÏ´Â ÇÔ¼ö. ¿À·ù°¡ ¹ß»ýÇÏÁö ¾Ê¾Ò´Ù¸é, empty stringÀ» ¸®ÅÏ
[mysql_affected_rows]
ÇÔ¼ö¸í ==> mysql_affected_rows();
»ç¿ë Çü½Ä ==> mysql_affected_rows(MYSQL *mysql);
°á°ú °ª return ==> int
¼³ ¸í ==> °¡Àå ÃÖ±ÙÀÇ UPDATE, DELETE ¶Ç´Â INSERT¿¡ ¿µÇâÀ» ¹ÞÀº(affected) rowÀÇ ¼ö¸¦ ¹ÝȯÇÑ´Ù.
[mysql_create_db]
ÇÔ¼ö¸í ==> mysql_create_db();
»ç¿ë Çü½Ä ==> mysql_create_db(MYSQL *mysql, const char *db);
°á°ú °ª return ==> int
¼³ ¸í ==> mysql¿¡ ÀÇÇؼ ÁöÁ¤µÈ ±â°è¿¡ db¶ó´Â À̸§ÀÇ µ¥ÀÌÅͺ£À̽º¸¦ »ý¼ºÇÑ´Ù.
[mysql_data_seek]
ÇÔ¼ö¸í ==> mysql_data_seek();
»ç¿ë Çü½Ä ==> mysql_data_seek(MYSQL_RES *res, uint offset);
°á°ú °ª return ==> void
¼³ ¸í ==> Äõ¸® °á°ú°ª¿¡¼ ÁöÁ¤µÈ Çà(row)À» ã´Â´Ù. mysql_use_result()¿¡ ÀÇÇؼ »ý¼ºµÈ ¿¬°á¿¡¼´Â ¾µ ¼ö ¾ø´Ù.
[mysql_drop_db]
ÇÔ¼ö¸í ==> mysql_fetch_field();
»ç¿ë Çü½Ä ==> mysql_drop_db(MYSQL *mysql, const char *db);
°á°ú °ª return ==> int
¼³ ¸í ==> mysql¿¡ ÀÇÇؼ ÁöÁ¤µÈ machineÀ¸·ÎºÎÅÍ db¶ó´Â À̸§À» µ¥ÀÌÅͺ£À̽º¸¦ dropÇÑ´Ù.
[mysql_fetch_field]
ÇÔ¼ö¸í ==> mysql_fetch_field();
»ç¿ë Çü½Ä ==> mysql_fetch_field(MYSQL_RES *handle);
°á°ú °ª return ==> MYSQL_FIELD
¼³ ¸í ==> Å×À̺í ÇʵåÀÇ Å¸ÀÔÀÌ ¹«¾ùÀÎÁö ¾Ë¾Æ³½´Ù.
[mysql_fetch_lengths]
ÇÔ¼ö¸í ==> mysql_fetch_lengths();
»ç¿ë Çü½Ä ==> mysql_fetch_lengths(MYSQL_RES *mysql);
°á°ú °ª return ==> unsigned int
¼³ ¸í ==> Äõ¸® °á°ú°ª¿¡ ÀÖ´Â ¸ðµç Ä÷³ÀÇ ±æÀ̸¦ ¸®ÅÏÇÑ´Ù.
[mysql_field_seek]
ÇÔ¼ö¸í ==> mysql_field_seek();
»ç¿ë Çü½Ä ==> mysql_field_seek(MYSQL_RES *result, int field);
°á°ú °ª return ==> void
¼³ ¸í ==> Ä÷³ Ä¿¼¸¦ Ä÷³ ¹øÈ£ field·Î ¿Å±ä´Ù. À̶§, field °ª x´Â 0 <= x <= mysql_num_fields(MYSQL_RES*)-1 À̾î¾ßÇÑ´Ù.
[mysql_free_result]
ÇÔ¼ö¸í ==> mysql_free_result();
»ç¿ë Çü½Ä ==> mysql_free_result(MYSQL_RES *result);
°á°ú °ª return ==> void
¼³ ¸í ==> Äõ¸® °á°ú¸¦ ÀúÀåÇÏ°íÀÖ´Â ¸Þ¸ð¸®¸¦ free½ÃŲ´Ù. mysql_store_result()¿¡ ´ëÇÑ °á°ú°ª »ç¿ëÀ» ¸¶Ä¡°í È£ÃâÇؾßÇÑ´Ù.
[mysql_get_client_info]
ÇÔ¼ö¸í ==> mysql_get_client_info();
»ç¿ë Çü½Ä ==> mysql_get_client_info(void);
°á°ú °ª return ==> char
¼³ ¸í ==> ÇöÀç ¾²ÀÌ°í ÀÖ´Â client ¶óÀ̺귯¸®ÀÇ ¹öÀü Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Â ½ºÆ®¸µÀ» ¸®ÅÏÇÑ´Ù.
[mysql_get_host_info]
ÇÔ¼ö¸í ==> mysql_get_host_info();
»ç¿ë Çü½Ä ==> mysql_get_host_info(MYSQL *mysql);
°á°ú °ª return ==> char
¼³ ¸í ==> hostÀÇ À̸§À» ¸®ÅÏÇÑ´Ù (mysql_connect¿Í host ÀÎÀÚ(argument)´Â °°´Ù).
[mysql_get_proto_info]
ÇÔ¼ö¸í ==> mysql_get_proto_info();
»ç¿ë Çü½Ä ==> mysql_get_proto_info(MYSQL *mysql);
°á°ú °ª return ==> int
¼³ ¸í ==> ¿¬°á¿¡ ¾²ÀÌ°í ÀÖ´Â ÇÁ·ÎÅäÄÝÀÇ ¹öÀüÀ» ¾ò´Â´Ù.
[mysql_get_server_info]
ÇÔ¼ö¸í ==> mysql_get_server_info();
»ç¿ë Çü½Ä ==> mysql_get_server_info(MYSQL *mysql);
°á°ú °ª return ==> char
¼³ ¸í ==> ½á¹öÀÇ ¹öÀü ¹øÈ£¸¦ ¸®ÅÏÇÑ´Ù.
[mysql_insert_id]
ÇÔ¼ö¸í ==> mysql_insert_id();
»ç¿ë Çü½Ä ==> mysql_insert_id(MYSQL *mysql);
°á°ú °ª return ==> int
¼³ ¸í ==> °á°ú º¯¼öÀÎ 'res'¿¡¼ AUTO_INCREMENT Çʵ带 À§Çؼ »ý¼ºµÈ ID¸¦ ¸®ÅÏÇÑ´Ù.
[mysql_list_dbs]
ÇÔ¼ö¸í ==> mysql_list_dbs();
»ç¿ë Çü½Ä ==> mysql_list_dbs(MYSQL *mysql, const char *wild);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> mSQL ¾îÇø®ÄÉÀ̼ÇÀ» ½±°Ô Æ÷ÆÃÇϱâ À§Çؼ Á¦°øµÇ¾ú´Ù. Äõ¸®Ã³·³ 'SHOW databases LIKE wild-card '¸¦ ½ÇÇàÇÏ´Â °Í°ú À¯»çÇÏ´Ù.
[mysql_list_fields]
ÇÔ¼ö¸í ==> mysql_list_fields();
»ç¿ë Çü½Ä ==> mysql_list_fields(MYSQL *mysql, const char *table, const char *wild);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> mSQL ¾îÇø®ÄÉÀ̼ÇÀ» ½±°Ô Æ÷ÆÃÇϱâ À§Çؼ Á¦°øµÇ¾ú´Ù.
[mysql_list_processes]
ÇÔ¼ö¸í ==> mysql_list_processes();
»ç¿ë Çü½Ä ==> mysql_list_processes(MYSQL *mysql);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> MySQL µ¥ÀÌÅͺ£À̽º ¿£Áø¿¡¼ ÇöÀç ½ÇÇà ÁßÀÎ threadÀÇ ¸®½ºÆ®¸¦ ¾ò´Â´Ù. ´Ü, process ±ÇÇÑÀ» °¡Áö°í ÀÖ¾î¾ßÇÑ´Ù.
[mysql_list_tables]
ÇÔ¼ö¸í ==> mysql_list_tables();
»ç¿ë Çü½Ä ==> mysql_list_tables(MYSQL *mysql, const char *wild);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> mSQL ÀÀ¿ë ÇÁ·Î±×·¥À» ½±°Ô Æ÷ÆÃÇϱâ À§ÇÑ ÇÔ¼ö. Äõ¸®Ã³·³ 'SHOW tables FROM database'¸¦ ÇÏ´Â °Í°ú À¯»çÇÏ´Ù.
[mysql_real_query]
ÇÔ¼ö¸í ==> mysql_real_query();
»ç¿ë Çü½Ä ==> mysql_real_query(MYSQL *mysql, const char *query, uint length);
°á°ú °ª return ==> int
¼³ ¸í ==> Äõ¸® ½ºÆ®¸µÀ» À§Çؼ Å©±â°¡ °íÁ¤µÈ ¹öÆÛ¸¦ ÇÒ´çÇß´Ù¸é, ÀÌ°ÍÀ» ¾µ ¼ö ÀÖ´Ù.
[mysql_reload]
ÇÔ¼ö¸í ==> mysql_reload();
»ç¿ë Çü½Ä ==> mysql_reload(MYSQL *mysql);
°á°ú °ª return ==> int
¼³ ¸í ==> MySQL µ¥ÀÌÅͺ£À̽º ¿£ÁøÀÌ »ç¿ëÀÚ ±ÇÇÑ Å×À̺íÀ» ´Ù½Ã ÀоîµéÀÌ°í, ¸ðµç ij½¬¸¦ Á¤¸®ÇÏ°í, ¾²ÀÌÁö ¾Ê´Â ¸ðµç Å×À̺íÀ» closeÇÑ´Ù.
[mysql_shutdown]
ÇÔ¼ö¸í ==> mysql_shutdown();
»ç¿ë Çü½Ä ==> mysql_shutdown(MYSQL *mysql);
°á°ú °ª return ==> int
¼³ ¸í ==> MySQL µ¥ÀÌÅͺ£À̽º ¿£ÁøÀ» shutdownÇÑ´Ù. ´Ü, »ç¿ëÀÚ°¡ shutdown ±ÇÇÑÀ» °¡Áö°í ÀÖ¾î¾ßÇÑ´Ù.
[mysql_stat]
ÇÔ¼ö¸í ==> mysql_stat();
»ç¿ë Çü½Ä ==> mysql_stat(MYSQL *mysql);
°á°ú °ª return ==> char
¼³ ¸í ==> Ä¿¸Çµå 'mysqladmin version'°ú À¯»çÇÑ Á¤º¸¸¦ ¹®ÀÚ ¹è¿·Î ¸®ÅÏÇÑ´Ù.
[mysql_use_result]
ÇÔ¼ö¸í ==> mysql_use_result();
»ç¿ë Çü½Ä ==> mysql_use_result(MYSQL *mysql);
°á°ú °ª return ==> MYSQL_RES
¼³ ¸í ==> °á°ú¸¦ mysql_fetch_row()¿¡ ÀÇÇؼ ½á¹ö¿¡¼ µ¿ÀûÀ¸·Î ºÒ·¯¿À´Â °ÍÀ» Á¦¿ÜÇϸé, mysql_store_result()¿Í °°´Ù.
|
|
| |
|