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


post, get, cookie, session º¯¼ö È®ÀÎ
12³â Àü
2Â÷ ¹è¿­±îÁö Áö¿øÇϸç, °£´ÜÇÏ°Ô ³Ñ¾î¿Â º¯¼ö¸¦ È®ÀÎ ÇÒ¼ö ÀÖ´Â ½ºÅ©¸³Æ®ÀÔ´Ï´Ù.


<?
$DebuggingMethod = 1;

function GetMethodType($CheckingMethod, $TranceMethod) {
       echo "-----------------------------------------------------------------<br>";
       echo "<font color='#999999'><b>" . $TranceMethod . "</b></font><br>";
       echo "-----------------------------------------------------------------<br>";
       $first_counter = 1;
       foreach ($CheckingMethod as $first_key => $first_value) {
              if ( is_array($first_value) ) {
                     $second_counter = 1;
                     foreach ($first_value as $second_key => $second_value) {
                            echo " - <font size=1>" . $second_counter . "</font>. " . $second_key . " = " . $second_value . "<br>";
                            $second_counter++;
                     }
              } else {
                     echo "<font size=1>" . $first_counter . "</font>. " . $first_key . " = " . $first_value . "<br>";
                     $first_counter++;
              }
       }
       echo "-----------------------------------------------------------------<br>";
}

if ( $DebuggingMethod ) {
       if ( $_POST ) {
              GetMethodType($_POST, "POST");
       }
       if ( $_GET ) {
              GetMethodType($_GET, "GET");
       }
       if ( $_COOKIE ) {
              GetMethodType($_COOKIE, "COOKIE");
       }
       if ( $_SESSION ) {
              GetMethodType($_SESSION, "SESSION");
       }
}
?>

-------------------------------------------------------------------------------------------------------------
2Â÷¿ø ÀÌ»ó ¹è¿­À» Áö¿øÇÏ·Á¸é ÀÚ½ÅÀÇ ÇÔ¼ö¸¦ È£ÃâÇϵµ·Ï
Â¥¸é µË´Ï´Ù.


±×¿Ü Âü°í,

- object dump,
- ³»ÀåÇÔ¼ö, »ç¿ëÀÚ Á¤ÀÇÇÔ¼ö ¸ñ·Ï º¸±â
- Á¤ÀÇµÈ »ó¼ö¿Í ±× °ª º¸±â
- »ç¿ë°¡´ÉÇÑ class ¸ñ·Ï
- include, require µÈ ÆÄÀÏ ¸ñ·Ï
- ±âŸ..

http://ftp.linuxchannel.net/devel/php_debug/

Á¦°¡ ÀÚÁÖ ¾Ö¿ë(?)ÇÏ´Â _debug() ÇÔ¼ö ÀÔ´Ï´Ù.

ÃßõÃßõ : 525 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
2,015
·£´ý¹è³Ê¼Ò½º + ·£´ý ¾ÆÀÌÇÁ·¹ÀÓ ¼Ò½º
2,014
ÀÚµ¿»õ·Î°íħ
2,013
iframe´ë½Å div¸¦ ÀÀ¿ëÇغ¸ÀÚ
2,012
´ÙÀ½Ä«Æä ¸ÞÀο¡ ¾ÆÀÌÇÁ·¹ÀÓ »ç¿ëÇϱâ
2,011
url¿¡ get°ª °¡Á®¿À±â
2,010
PHP ÀÚÁÖ ¾²´Â ÇÔ¼öµé
2,009
µð·ºÅ丮¿¡ ÀÖ´Â À̹ÌÁö ÆÄÀÏÀ» Àоîµé¿© º¸¿©ÁÖ´Â À̹ÌÁö °¶·¯¸®
2,008
µðºñ³»¿ëÀ» ¿¢¼¿ ÆÄÀÏ·Î ´Ù¿î·Îµå ½ÃÅ°´Â ¹æ¹ý
2,007
PHP¿¡¼­ MySQL Á¢¼ÓÇϱâ
2,006
PHP¿¡¼­ Á¢¼ÓÀÚ IP ¾Ë¾Æ³»±â
2,005
°Ô½ÃÆÇ°Ë»öÀ̳ª ¼îÇθô¿¡ À¯¿ëÇÑ ÀÚ¹Ù½ºÅ©¸³Æ®
2,004
¸®´ª½º ftp ¸í·É¾î ¸ðÀ½
2,003
PHP ¹öºí¼ÒÆ® ¾Ë°í¸®Áò
2,002
PHP¿¡¼­ ¼º´É °³¼±À» À§ÇÑ À¯¿ëÇÑ ÆÁ
2,001
Flex¿Í PHP¸¦ ÀÌ¿ëÇؼ­ ¸¸µç ÆÄÀϾ÷·Îµå ¼Ò½º
2,000
PHP ÇöÀç Á¢¼ÓÀÚ ÇöȲ º¸¿©ÁÖ±â
1,999
PHP Caching to speed up
post, get, cookie, session º¯¼ö È®ÀÎ
1,997
PHP ¹®ÀÚ¿­Áß ¼ýÀÚ¸¸ ÃßÃâÇϱâ
1,996
¹«Á¶°Ç ¾Ë¾Æ¾ß ÇÒ PHP ¼Óµµ Å×½ºÆ® 14 °¡Áö
1,995
PHP ¹®ÀÚ¿­ ¿¬°áÇϱâ
1,994
PHP ¼ýÀÚ ÃµÀÚ¸®¸¶´Ù ÄÞ¸¶(½°Ç¥) Âï±â
1,993
PHP - RSS ¸®´õ±â
1,992
PHP ¸ÞÀÏ(mail) ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ Ã·ºÎÈ­ÀÏ Àü¼ÛÇϱâ
1,991
PHP ÇÔ¼ö °£´Ü Á¤¸®
1,990
PHP¿¡¼­ ¼¼¼Ç(session) »ç¿ëÇϱâ
1,989
PHP explode ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ¹®ÀÚ¿­ ºÐ¸®
1,988
PHP split ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ¹®ÀÚ¿­ ºÐ¸®
1,987
PHP À̸§ÀÌ °°Àº Æûű×(Form Tag)ÀÇ °ª(value) ó¸®Çϱâ
1,986
PHP ¿À´Ã³¯Â¥¸¦ ±âÁØÀ¸·Î ÀÌÀü,ÀÌÈÄ ³¯Â¥±¸Çϱâ
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.