[font size="2" color="#FF0000"]ÀÌ ±ÛÀº 2000-08-20, ¿ÀÈÄ 09:57 (KST)¿¡ ¸¶Áö¸·À¸·Î ¼öÁ¤µÇ¾ú½À´Ï´Ù.[/font][p]HappyCGI ÆÀÀÇ °íÀç¿õ ÀÔ´Ï´Ù.
¶Ç ´Ù½Ã Å×½ºÆ®¸¦ Çغ¸´Ï ÀߵǴõ±º¿ä, ÀÌ»óÇؼ »ìÆ캸´Ï À̺κп¡¼ ¸»½éÀ» ºÎ¸®³×¿ä.
||die("mysqlserver¿¡¿¬°áÇÒ¼ö¾ø½À´Ï´Ù.")
||
¸¦ PHP4¿¡¼ ¾È¾²³ª º¾´Ï´Ù. PHP3¿¡¼´Â ½è´ÂÁö´Â ±â¾ïÀÌ ¾È³³´Ï´Ù.
À§ ºÎºÐÀ» ´ÙÀ½Ã³·³µÇ°Ô Çغ¸¼¼¿ä.
$connect=mysql_connect("localhost","username","password") or die("mysqlserver¿¡¿¬°áÇÒ¼ö¾ø½À´Ï´Ù.");
±¦È÷ º£Å¸´Ï ¼³Á¤ÀÌ´Ï ¸»¾¸À» µå·È½À´Ï´Ù. ÀÌÀü¿¡ µå¸° Á¦ ÃßÃøÀº Ʋ·ÈÀ¸´Ï ÀÌ Á¡
¿ÀÇØ ¾øÀ¸½Ã±â ¹Ù¶ø´Ï´Ù.
°¨»çÇÕ´Ï´Ù, Happy Coding !
|