½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > PHP > PHP ¼Ò½ºÃ¢°í > À¥ À¯Æ¿¸®Æ¼ > ¾Æ¹ÙŸ ¼Ö·ç¼Ç - Avabank1.0 Free »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
html
MYSQL
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
¾Æ¹ÙŸ ¼Ö·ç¼Ç - Avabank1.0 Free
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù À¥ À¯Æ¿¸®Æ¼
´Ù¿î·Îµå Ƚ¼ö 961 ȸ
°£´Ü¼³¸í ¾Æ¹Ù¹ðÅ© 1.0 °ø°³¹öÀüÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
ȨÆäÀÌÁö¹Ù·Î°¡±â ¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â°¡ ¾ø½À´Ï´Ù ½ºÅ©·¦Çϱâ
»ó¿ë¹öÀü¿¡¼­ ÀϺΠ±â´ÉÀ» Á¦ÇÑ(°ü¸®±â´É,Æ÷ÀÎÆ®°áÁ¦,¼±¹°ÁÖ±â,Æ÷Åä¾Ù¹ü)ÇÏ¿© ¹«·á·Î ¹èÆ÷ÇÏ´Â ¼Ò½º·Î
¾ÆÀÌÅÛÀ» µ¥ÀÌÅͺ£À̽º¸¦ »ç¿ëÇÏÁö ¾Ê°í HTML·Î Á÷Á¢¸¸µé¾î ÁּžßÇÕ´Ï´Ù.
ÄíÅ°µîÀ» ÀÌ¿ëÇÏ¿© ¾ÆÀ̵ð¿Í ¼ºº°°ª¸¸ °¡Áö°í ¿À¸é ¾î¶°ÇÑ ÇÁ·Î±×·¥°ú ¿¬µ¿µÇ¸ç
´Ù¸¥ ÇÁ·Î±×·¥ÀÇ ¿¬µ¿ºÎºÐÀ» °í·ÁÇÏ¿© ȸ¿ø°¡ÀÔ ¹× ·Î±×ÀÎ󸮵îÀº ±âº»±â´É°ú ±âº»Çʵå·Î¸¸ ±¸¼ºÇÏ¿´½À´Ï´Ù.

°³¹ß : ¾Æ¹Ù¹ðÅ©(http:www.avabank.com)
À̸ÞÀÏ : kihun@avabank.com
µ¥¸ð : http://www.avabank.com/avatar_free (°ø°³¹öÀü)



¶óÀ̼¾½º --
1. º»ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© ºñ¿µ¸®Àû,¿µ¸®Àû »çÀÌÆ®¸¦ ±¸ÃàÇÏ¿© ¼­ºñ½º¸¦ ÇÒ ¼ö ÀÖ½À´Ï´Ù
2. ÀÚ½ÅÀÌ Á÷Á¢ ¼Ò½º¼öÁ¤ º¯°æÀ» Çã¿ëÇÕ´Ï´Ù (ÆǸŸñÀû±ÝÁö).
3. ºñ»ó¾÷Àû ¸ñÀû¿¡¼­ ¼Ò½º ±×´ë·ÎÀÇ Àç¹èÆ÷¸¦ Çã¿ë

°³¹ßȯ°æ ¹× Å×½ºÆ® ȯ°æ
1. À¯´Ð½º(¸®´ª½º) °è¿­ÀÇ OS + PHP4.0ÀÌ»ó + Apache1.3ÀÌ»ó (½ÇÁ¦°³¹ßÀº ·¹µåÇÞ7.1)
2. À©µµ¿ì 98/2000¿¡¼­ÀÇ IIS/Apache + PHP ȯ°æ (Windows 98/2000¿¡¼­ Apache / IIS¸¦ ÀÌ¿ëÇÏ¿© Å×½ºÆ®ÈÄ ÀÌ»ó¾øÀ½)

¼³Ä¡¹æ¹ý
1. ¾ÐÃàÀ» DZ´Ï´Ù.(¾ÐÃàÆ÷¸ËÀº zip)
2. config.php ȯ°æ¿¡ µû¶ó º¯°æÇÕ´Ï´Ù.

Line2~8

$host = "localhost"; // MySQLÈ£½ºÆ®
$user = "root"; // MySQL À¯Àú
$pass = ""; // MySQL Æнº¿öµå
$dbname = "avabank"; // µ¥ÀÌÅͺ£À̽º¸í

$admin_id = ``admin``; // °ü¸®ÀÚ ¾ÆÀ̵ð
$admin_pw = ``admin``; // °ü¸®ÀÚ Æнº¿öµå
------------------------------------------------------------------------
Line 19~27 ȸ¿øÀÎÁõºÎºÐÀ» ¼³Á¤ÇÏ´Â ºÎºÐÀÔ´Ï´Ù. À̺κÐÀ» ¼öÁ¤ÇϽ÷Á¸é
±âÃÊÀûÀÎ PHPÁö½ÄÀÌ ÀÖ¾î¾ßÇÕ´Ï´Ù. ¼Ò½º¿¡´Â °£´ÜÈ÷ ÄíÅ°·Î¸¸ ó¸®ÇßÁö¸¸
º¸¾ÈÀ» °­·ÂÇÏ°Ô ÇѰųª ´Ù¸¥ÇÁ·Î±×·¥°ú ¿¬µ¿ÇÏ·Á¸é ȯ°æ¿¡ ¸Â°Ô ¾ÆÀ̵ðÁ¤º¸¿Í
¼ºº°Á¤º¸¸¦ ÄíÅ°µîÀ¸·Î Àоî¿À°Ô ÇÕ´Ï´Ù. À̶§ ¹Ýµå½Ã º¯¼ö¸íÀ» °¢°¢ $id_auth ¿Í $sex_auth·Î ÁöÁ¤ÇÕ´Ï´Ù.

$id_auth = $HTTP_COOKIE_VARS[id_auth];
$sex_auth = $HTTP_COOKIE_VARS[sex_auth];
function member_login () {
global $id_auth,$sex_auth;
if ($id_auth && $sex_auth)
return true;
else
return false;
}
3. FTP¸¦ ÀÌ¿ëÇÏ¿© ¼­¹ö¿¡ Àü¼Û (¼³Ä¡µð·ºÅ丮´Â »ó°ü¾øÀ½)
3. MySQL¿¡ Å×À̺íÀ» »ý¼ºÇÕ´Ï´Ù.

CREATE TABLE avatar_member (
id varchar(22) NOT NULL,
pw varchar(30) NOT NULL default ````,
name varchar(20) NOT NULL,
sex enum(``1``,``2``),
email varchar(50) NOT NULL default ````
img1 varchar(40) NOT NULL default ````,
img2 varchar(40) NOT NULL default ````,
img3 varchar(40) NOT NULL default ````,
img4 varchar(40) NOT NULL default ````,
img5 varchar(40) NOT NULL default ````,
img6 varchar(40) NOT NULL default ````,
img7 varchar(40) NOT NULL default ````,
img8 varchar(40) NOT NULL default ````,
img9 varchar(40) NOT NULL default ````,
img10 varchar(40) NOT NULL default ````
time int(10) NOT NULL default ````,
up_time int(10) NOT NULL default ````,
PRIMARY KEY(id)
);

CREATE TABLE avatar_test (
num int(10) auto_increment NOT NULL,
id varchar(22),
title varchar(50),
body text,
time int(10),
PRIMARY KEY(num)
);

Å×À̺í avatar_test Àº ¿¹½Ã¸¦ À§ÇØ ¸¸µç Å×À̺í·Î ÇÊ¿ä¿¡ µû¶ó ÃßÈÄ »èÁ¦Çϼŵµ µË´Ï´Ù.

4. ¼³Ä¡ÇÑ ¼­¹ö¸¦ ºê¶ó¿ìÀú¸¦ ÅëÇØ È£ÃâÇÕ´Ï´Ù.
http://www.yoursite.com/avatar_free

5. ȸ¿ø°¡ÀÔÈÄ ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù.
6. °ü¸®ÀÚ ¸ðµå´Â °°Àº°æ·Î¿¡¼­ admin (°ü¸®ÀÚ´Â ½ÇÁ¦È¸¿ø°ü¸®¸¸ ÀÖ½À´Ï´Ù.)
http://www.yoursite.com/avatar_free/admin

ÀÌ¿ë¹æ¹ý
index.php¿Í test.php´Â ¿¹½Ã¸¦ À§ÇÑ ¸¸µç ÆäÀÌÁöÀÔ´Ï´Ù.
ÀÌÆÄÀÏÀ» ÀÀ¿ëÇÏ¿© ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù.
¸¸¾à °Ô½ÃÆÇ°ú ¿¬µ¿À» ÇÏ·Á¸é ÀûÀýÇÑ À§Ä¡¿¡

¸¦ ³Ö¾îÁÖ¸é ÇØ´ç¾ÆÀ̵ðÀÇ ¾Æ¹ÙŸ¸¦ °¡Áö°í ¿É´Ï´Ù.

¾ÆÀÌÅÛÀ» Ãß°¡ÇÏ·Á¸é ³²ÀÚ´Â m_avatar.htm ¿©ÀÚ´Â f_avatar.htm¸¦ ¼öÁ¤ÇÕ´Ï´Ù.

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