사용자단 따옴표 작업 bbs/good.php 까지 진행

This commit is contained in:
whitedot
2012-11-29 18:19:25 +09:00
parent cbf7e9c21e
commit 091f9deade
69 changed files with 587 additions and 587 deletions

View File

@ -1,21 +1,21 @@
<?
include_once("./_common.php");
include_once('./_common.php');
$sql = " select mb_id, mb_email, mb_datetime from $g4[member_table] where mb_id = '$mb_id' ";
$sql = " select mb_id, mb_email, mb_datetime from {$g4[member_table]} where mb_id = '{$mb_id}' ";
$row = sql_fetch($sql);
if (!$row[mb_id])
alert("존재하는 회원이 아닙니다.", $g4[path]);
alert('존재하는 회원이 아닙니다.', $g4['path']);
if ($mb_md5)
{
$tmp_md5 = md5($row[mb_id].$row[mb_email].$row[mb_datetime]);
if ($mb_md5 == $tmp_md5)
{
sql_query(" update $g4[member_table] set mb_email_certify = '$g4[time_ymdhis]' where mb_id = '$mb_id' ");
sql_query(" update {$g4[member_table]} set mb_email_certify = '{$g4[time_ymdhis]}' where mb_id = '{$mb_id}' ");
alert("E-mail 인증 처리를 완료 하였습니다.", $g4[path]);
alert('E-mail 인증 처리를 완료 하였습니다.', $g4['path']);
}
}
alert("제대로 된 값이 넘어오지 않았습니다.", $g4[path]);
alert('제대로 된 값이 넘어오지 않았습니다.', $g4['path']);
?>