½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
HTML
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 71 | Á¶È¸¼ö 862 | µî·ÏÀÏ 2001-09-08 01:08:06

´Ð³×ÀÓ

banner

À̸ÞÀÏ

webmaster@frontnic.com

Á¦¸ñ

ÆÞ CGI ¼öÁ¤ÀÌ Àß ¾ÈµÅ¼­ ºÎŹµå¸³´Ï´Ù.
³»¿ë
¼øÀ§ ½ÎÀÌÆ® ÇÁ·Î±×·¥Àä.
¾Æ·¡¼­ º¸½Ã¸é ¸µÅ©¸¦ ´­·¶À»¶§ ȸ¿øÀÌ µî·ÏÇÑ È¨ÇÇ ÁÖ¼Ò·Î °¡´Â ¹®Á¦Àä.
ÀÌ»óÇÏ°Ô È¨ÇÇ ÁÖ¼Ò¸¦ http:// ÀÌ°É ¾È Àû±¸ °¡ÀÔÇϸé
ÀÛµ¿ÀÌ ¾ÈµË´Ï´Ù.
¿¹¸¦ µé¾î happycgi.comÀÇ È¨ÇǸ¦ µî·ÏÇÞÀ¸¸é ÇÁ·Î±×·¥ÀÌ ÀÛµ¿ÀÌ ¾ÈµÅ°í
http://happycgi.comÀ¸·Î °¡ÀÔÇßÀ¸¸é ÀÛµ¿ÀÌ µË´Ï´Ù.
¹®Á¦´Â http://¸¦ ÀûÀ¸¸é ¾ÈµÅ°Åµç¿ä.
http://¾øÀÌ °Á µµ¸ÞÀÎ À̸§¸¸ º¸ÀÌ°Ô ÇÏ·Á´Ù º¸´Ï±î ¹®Á¦°¡ »ý±â³×¿ä.
¾Æ·¡Á» ÀÛµ¿µÇ°Ô ÇØÁÖ½Ç ºÐ ¾ø³ª¿ä ?
¿øº»Àº ÆÄÀÏ Ã·ºÎÇÞ½À´Ï´Ù.
ºÎŹµå¸³´Ï´Ù.






sub log_out_hit {

open (DATA,"+<protected/data.file");
flock (DATA,2);
@data_array = <DATA>;
$account = $in{'hit_out'};
$a=0;

foreach (@data_array) {
@new_array = split(/\|/,$data_array[$a]);
if ($new_array[12]  == $account) {
@new_array[3]++;
$outurl = $new_array[6];
$data_array[$a] = join("\|",@new_array);
}
$a++;
}

seek (DATA, 0, 0);
print DATA @data_array;
flock (DATA,8);
close (DATA);

}

¾Æ·¡´Â ȸ¿ø °¡ÀÔ ÀÛµ¿ ÆÞÀÔ´Ï´Ù.

sub update_account {
open (DATA,"<protected/data.file");
flock (DATA,2);
@data_array = <DATA>;
flock (DATA,8);
close (DATA);
$account = $in{'account'};
$a=0;
foreach (@data_array) {
@new_array = split(/\|/,$data_array[$a]);
if ($new_array[12]  == $account) {
$new_array[4]=$in{'name'};
$new_array[5]=$in{'email'};
$new_array[6]=$in{'site_name'};
$new_array[7]=$in{'site_description'};
$new_array[8]=$in{'domain_price'};
$new_array[9]=$in{'site_url'};
$new_array[11]=$in{'new_password'};
$new_array[13]=$in{'banner_height'};
$new_array[14]=$in{'banner_width'};
$new_array[15]=$in{'domain_price'};
}
$data_array[$a] = join("\|",@new_array);
$a++;
}
open (DATA,">protected/data.file");
flock (DATA,2);
print DATA @data_array;
flock (DATA,8);
close (DATA);
}
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û Ȥ½Ã webscripts tools Áß¿¡ weblog¼³Ä¡Çغ¸¼Ì´ÂÁö¿ä? 2001-09-07 16:41:04
´ÙÀ½°Ô½Ã±Û ±Ã±ÝÇÑ°ÍÀÌ ÀÖ¾î¿ä..^^ 2001-09-08 05:27:17