½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > PHP > PHP ¼Ò½ºÃ¢°í > °Ô½ÃÆÇ > ±ò²ûÇÑ ÁÖ¼Ò·Ï Addrbook1 »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
±ò²ûÇÑ ÁÖ¼Ò·Ï Addrbook1
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù °Ô½ÃÆÇ
´Ù¿î·Îµå Ƚ¼ö 954 ȸ
°£´Ü¼³¸í °£´ÜÇϸ鼭µµ ±ò²ûÇÑ ±â´ÉÀ» ÀÚ¶ûÇÏ´Â ÁÖ¼Ò·Ï ÇÁ·Î±×·¥ÀÔ´Ï´Ù. °Ô½ÃÆÇ Çü½ÄÀ¸·Î ÁÖ¼Ò·ÏÀÌ Çü¼ºµÇ¾î ÀÖ°í ±× ¾Æ·¡·Î ´º½º, ³¯¾¾, ȯÀ²Á¤º¸±îÁö Á¦°øµÇ°í Àֳ׿ä. µ¥¸ð»çÀÌÆ®¿¡¼­ È®ÀÎÇϼ¼¿ä. (Ãʱ⠺ñ¹øÀº 1234 ÀÔ´Ï´Ù. ^^)
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ
##########################################################################################
# ÇÁ·Î±×·¥¸í: Addrbook1
# ¸¸µç»ç¶÷ : ±èº´ÈÆ(kimbhy@hitel.net)
# ¿¬¶ôó: 011-9958-5533
# º» ÇÁ·Î±×·¥Àº ÁÖ¼Ò·Ï ÇÁ·Î±×·¥À¸·Î ÇãÁ¢ÇÏ°Ô ¸¸µé¾îÁö¸¸
# ·Î±×ÀÎÀÎÁõ°ú ¸ÞÀϺ¸³»±âÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ÇÁ·Î±×·¥ÀÔ´Ï´Ù.
# ÀúÀÛ±ÇÀÇ Àú¿¡°Ô ÀÖÁö¸¸... ¼öÁ¤°ú Àç¹èÆ÷°¡ °¡´ÉÇÕ´Ï´Ù.
# º¸½Ã¸é ¾Æ½Ã°ÚÁö¸¸ °Ô½ÃÆÇ ·çƾÀ» Âü°í·Î ¸¸µé¾ú½À´Ï´Ù.
##########################################################################################


¡Ü´ÙÀ½°ú °°Àº µð·ºÅ丮·Î ±¸¼ºµÇ¾î ÀÖ½À´Ï´Ù.
addrbook
|-db_info.php (DBȯ°æ¼³Á¤)
|-del.php (»èÁ¦)
|-edit.php (¼öÁ¤)
|-insert.php (µî·Ï·çƾ)
|-list.php (º¸±â)
|-predel.php (»èÁ¦·çƾ)
|-read.php (³»¿ëº¸±â)
|-testboard.sql (Å×À̺í)
|-update.php (¼öÁ¤·çƾ)
|-write.php (µî·Ï)
|-form1(°¢ÀÚȸ¿ø¿¡°Ô¸ÞÀϺ¸³»±â)
|-hit100.css (½ºÅ¸ÀϽÃÆ®)
|-mail.php (¸ÞÀϺ¸³»±âÆû)
|-send.php (¸ÞÀϺ¸³»±â·çƾ)
|-form2(Àüüȸ¿ø¿¡°Ô ¸ÞÀϺ¸³»±â)
|-hit100.css (½ºÅ¸ÀϽÃÆ®)
|-mail.php (¸ÞÀϺ¸³»±âÆû)
|-send.php (¸ÞÀϺ¸³»±â·çƾ)

¡Ü´ÙÀ½ ºÎºÐÀ» ¼öÁ¤À» ÇØÁÖ¼¼¿©..
1.db_info.php
$conn=mysql_connect("$DB_host","DB_user","DB_pwd");
mysql_select_db("DB_name", $conn);

?>
$DB_host = (mysql¼­¹öÀÇ È£½ºÆ® ÁÖ¼Ò)
$DB_user = (mysql¼­¹öÀÇ µî·ÏµÈ ID)
$DB_pwd = (mysql¼­¹öÀÇ µî·ÏµÈ ºñ¹Ð¹øÈ£)
$DB_name = (mysql¼­¹öÀÇ µî·ÏµÈ µ¥ÀÌŸº£À̽º)

2.config.php

#########################################################################
# LIST ¼³Á¤
# 1. ÇÑ ÆäÀÌÁö¿¡ º¸¿©Áú °Ô½Ã¹°ÀÇ ¼ö

$page_size=10;

# 2. ÆäÀÌÁö ³ª´©±â¿¡ Ç¥½ÃµÉ ÆäÀÌÁöÀÇ ¼ö

$page_list_size = 10;

#########################################################################

´ÙÀ½°ú °°Àº ºÎºÐÀÌ Àִµ¥..

//°ü¸®ÀÚ ¸ÞÀÏÁÖ¼Ò´Â ÀÔ·ÂÇϼ¼¿©.//
$tomail="kimbhy@hitel.net";
##################################
?>

//°ü¸®ÀÚ¾ÏÈ£ÀÔ´Ï´Ù.
$db_pwd="1234";

À§ºÎºÐÀ» ¼öÁ¤ÇÏ¿© ÁÖ¼¼¿©...

3. DB´Â µÎ°¡Áö·Î ¸¸µé¾ú¾¹´Ï´Ù.
»ç¿ëÇϽñâ ÆíÇÏ°Í·Î »ç¿ëÇϼ¼¿©..

TELNET mode¿¡¼­

mysql -u¾ÆÀ̵ð -pºñ¹Ð¹øÈ£ < testboard.sql

ÀÌ·¸°Ô ÀÔ·ÂÇØÁֽøéµÇ°í.

TELNET ¶Ç´Â SSH°¡ Áö¿øÀÌ ¾ÈµÉ°æ¿ì..

http://IPÁÖ¼Ò ¶Ç´Â µµ¸ÞÀÎÁÖ¼Ò/addrbook/createtable.php



³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 32463859 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.