´º½º ´ñ±ÛÀ» ȸ¿ø¸¸ ÀÛ¼ºÇÏ°Ô²û ÇϽǷÁ¸é review.phpÆÄÀÏÀ» Á÷Á¢ ¼öÁ¤ÇØ ÁÖ¼Å¾ß ÇÕ´Ï´Ù.
review.php ÇÁ·Î±×·¥ ÆÄÀÏÀ» Àü¹® ÆíÁýÅø(¿¹: UltraEdit, EditPlus) ¶Ç´Â ±×³É, ¸Þ¸ðÀåÀ¸·Î
ÆÄÀÏÀ» ¿±âÇÏ¿© ¾Æ·¡ºÎºÐ¿¡ ¼³¸íµÈ ÄÚµåºÎºÐÀ» ¼öÁ¤ÇØ ÁÖ½Ã¸é µË´Ï´Ù.
¾Æ·¡¼³¸í´ë·Î Äڵ带 ¼öÁ¤ÇØ Áֽñ⠹ٶø´Ï´Ù.
=======================================================================
1. ´ñ±Û´Þ¶§ : ºñȸ¿ø/ȸ¿ø ¸ðµÎ ÀÛ¼º°¡´É.
2. ´ñ±ÛÀÇ ´ñ±ÛÀ» ´Þ¶§ : ȸ¿ø¸¸ ÀÛ¼º°¡´É.
´ñ±Û´Þ¶§ ȸ¿øÀ¸·Î Á¦ÇÑÇϽǷÁ¸é ¾Æ·¡¸¦ µû¶óÇϽñ⠹ٶø´Ï´Ù.
1. review.php ÆÄÀÏÀ» ¿¾îº¾´Ï´Ù.
2. ¾Æ·¡ ºÎºÐÀ» ãÀ¸¼¼¿ä.
function add_reg(){
global $per_tb,$review_tb,$filtering,$REMOTE_ADDR;
$filtering = str_replace("\n",'',$filtering);
$filtering = str_replace("\r",'',$filtering);
$filtering = str_replace("/","\/",$filtering);
3. ãÀº ºÎºÐÀÇ ¾Æ·¡ , ¾Æ·¡ Äڵ带 ³Ö½À´Ï´Ù.
if ($_COOKIE[news_member_id] == ''){
$time = time();
$url_encode = urlencode("detail.php?number=$_POST[LinkID]");
gomsg('\\nÀÇ°ßÀÇ ´ñ±ÛÀº ȸ¿ø¸¸ ÀÛ¼ºÀÌ °¡´ÉÇÕ´Ï´Ù. \\n\\nȸ¿øÀ¸·Î ·Î±×ÀÎÇϽʽÿÀ. ',"login_page.php?prev_url=$url_encode&uid=$time");
exit;
}
4. ÀúÀåÈÄ ¾÷·Îµå ÇÕ´Ï´Ù.
|