경로 수정 작업 중

This commit is contained in:
chicpro
2013-03-15 11:39:39 +09:00
parent 1a60978568
commit 25351a750d
26 changed files with 639 additions and 729 deletions

View File

@ -1,12 +1,12 @@
<?
include_once("./_common.php");
if ($_COOKIE[ck_bn_id] != $bn_id)
if ($_COOKIE['ck_bn_id'] != $bn_id)
{
$sql = " update $g4[yc4_banner_table] set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
$sql = " update {$g4['yc4_banner_table']} set bn_hit = bn_hit + 1 where bn_id = '$bn_id' ";
sql_query($sql);
// 하루 동안
setcookie("ck_bn_id", $bn_id, 60*60*24, $default[de_cookie_dir], $default[de_cookie_domain]);
// 하루 동안
set_cookie("ck_bn_id", $bn_id, 60*60*24);
}
goto_url($url);