function parse($contents, $TMPL=array(), $_TMPL=array())
{
global $_SERVER, $TMPL, $_TMPL;
$contents = str_replace('"','\"',$contents);
eval('$contents = "'.$contents.'";');
return $contents;
}
이것을 하라는대로 바꿔줬는데도...
function parse($contents, $TMPL=array(), $_TMPL=array())
{
global $_SERVER, $TMPL, $_TMPL;
$from = array("['",'["',"']",'"]','"');
$to = array('[','[',']',']','\"');
$contents = str_replace($from,$to,$contents);
eval('$contents = "'.$contents.'";');
return $contents;
}
eval('$contents = "'.$contents.'";'); 이부분에서 에러가 나는듯
합니다.
제가 고칠수 있으면 좋으렷만...도저히
어디부터 손봐줘야 할지 모르겠내요...
^^;
다시한번 봐주시면 감사하겠습니다.
http://cucu.nameip.net/test/index.php?path=vtm5/LqwILPrt6EvWzIwMDMuM
DUuMTVdIMDatc4gM8H9IC0gVGhlIEphZHUgKDEyOEticHMp
|