묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이 소스에 문제가 있는지 봐주세요.
2002.02.23 18:23
<?
$arraying = array("q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m");
$pass = hello1i am2 hanjuldwana;
function passing($str)
{
str_replace("1","#",$str);
str_replace("2","%)",$str);
str_replace("3","@",$str);
str_replace("4","!",$str);
str_replace("5","!*",$str);
str_replace("6","%%",$str);
str_replace("7","--",$str);
str_replace("8",".==",$str);
str_replace("9",".!!",$str);
str_replace("$arraying[0]",".1?",$str);
str_replace("$arraying[1]",".1**",$str);
str_replace("$arraying[2]",".2@@",$str);
str_replace("$arraying[3]",".2%%",$str);
str_replace("$arraying[4]",".3##",$str);
str_replace("$arraying[5]",".3!)",$str);
str_replace("$arraying[6]",".4^+",$str);
str_replace("$arraying[7]",".4)*&",$str);
str_replace("$arraying[8]",".5|",$str);
str_replace("$arraying[9]",".5@!",$str);
str_replace("$arraying[10]",".6*/",$str);
str_replace("$arraying[11]",".6--",$str);
str_replace("$arraying[12]",".7=_",$str);
str_replace("$arraying[13]",".7/+",$str);
str_replace("$arraying[14]",".8..",$str);
str_replace("$arraying[15]",".8^",$str);
str_replace("$arraying[16]",".9*",$str);
str_replace("$arraying[17]",".9#@",$str);
str_replace("$arraying[18]",".0",$str);
str_replace("$arraying[19]",".0*",$str);
str_replace("$arraying[20]",".!@#%^^&",$str);
str_replace("$arraying[21]",".&%",$str);
str_replace("$arraying[22]",".&^",$str);
str_replace("$arraying[23]",".><>",$str);
str_replace("$arraying[24]",".!@#",$str);
str_replace("$arraying[25]",".()",$str);
str_replace("$arraying[26]",".??",$str);
echo "$str";
}
passing($pass);
?>
Parse error: parse error in /home/kimsankum/public_html/passing.php on line 3 이런 에러가 납니다.
그런데 제가보기엔 3번째와 2번째는 아무 이상도 없습니다.
어똫게 된것인가요?
$arraying = array("q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m");
$pass = hello1i am2 hanjuldwana;
function passing($str)
{
str_replace("1","#",$str);
str_replace("2","%)",$str);
str_replace("3","@",$str);
str_replace("4","!",$str);
str_replace("5","!*",$str);
str_replace("6","%%",$str);
str_replace("7","--",$str);
str_replace("8",".==",$str);
str_replace("9",".!!",$str);
str_replace("$arraying[0]",".1?",$str);
str_replace("$arraying[1]",".1**",$str);
str_replace("$arraying[2]",".2@@",$str);
str_replace("$arraying[3]",".2%%",$str);
str_replace("$arraying[4]",".3##",$str);
str_replace("$arraying[5]",".3!)",$str);
str_replace("$arraying[6]",".4^+",$str);
str_replace("$arraying[7]",".4)*&",$str);
str_replace("$arraying[8]",".5|",$str);
str_replace("$arraying[9]",".5@!",$str);
str_replace("$arraying[10]",".6*/",$str);
str_replace("$arraying[11]",".6--",$str);
str_replace("$arraying[12]",".7=_",$str);
str_replace("$arraying[13]",".7/+",$str);
str_replace("$arraying[14]",".8..",$str);
str_replace("$arraying[15]",".8^",$str);
str_replace("$arraying[16]",".9*",$str);
str_replace("$arraying[17]",".9#@",$str);
str_replace("$arraying[18]",".0",$str);
str_replace("$arraying[19]",".0*",$str);
str_replace("$arraying[20]",".!@#%^^&",$str);
str_replace("$arraying[21]",".&%",$str);
str_replace("$arraying[22]",".&^",$str);
str_replace("$arraying[23]",".><>",$str);
str_replace("$arraying[24]",".!@#",$str);
str_replace("$arraying[25]",".()",$str);
str_replace("$arraying[26]",".??",$str);
echo "$str";
}
passing($pass);
?>
Parse error: parse error in /home/kimsankum/public_html/passing.php on line 3 이런 에러가 납니다.
그런데 제가보기엔 3번째와 2번째는 아무 이상도 없습니다.
어똫게 된것인가요?
-> $pass = "hello1i am2 hanjuldwana";