m

다음과 같은 에러표시가 떳어요.

if (empty($list[$i][thumbnail]) && !empty($list[$i][wr_content]) && preg_match("`src\s*=([^>]+\.(gif|jpe?g|png))('|\"|\s|>)`iU", $list[$i][wr_content], $m)) {

-------------

위에 해당된 에러표시가 아래와 같습니다.
어디를 어떻게 손보아야 하는지 고수님들의 가르침을 기다립니다

------------

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/am7/public_am7net/skin/board/morningwebU3_Zn/list.skin.php on line 182

Parse error: syntax error, unexpected ',' in /home/am7/public_am7net/skin/board/morningwebU3_Zn/list.skin.php on line 182
|

댓글 6개

암것도 모르는 하수가 대충 찍어 봅니다..;;;

preg_match("`src\s*=([^>]+\.(gif|jpe?g|png))('|\"|\s|>)`iU",

이 부분이 아래처럼 되어야 할 거 같습니다.

preg_match("/src\=([^>]+\.(gif|jpe?g|png))('|\"|\s|>)/iU",
가르침대로 헸더니 이번에는 같은 곳에서 아래처럼
----------------
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/am7/public_am7net/skin/board/morningwebU3_Zn/list.skin.php on line 182

Parse error: syntax error, unexpected ',' in /home/am7/public_am7net/skin/board/morningwebU3_Zn/list.skin.php on line 182
preg_match("/src\=([^>]+\.(gif|jpe?g|png))(/|\"|\s|>)/iU",

하는구뇨...
점하나에 인생이 왔다갔다하네요.
시하님!!!
선무당이 사람잡는다고...

위에서 점하나가 빠져서 밀려 밀려 이곳까지 문제된 것이었어요.

관심 감사드립니다.
아 그렇군요. 덕분에 저도 하나 또 알게 되었습니다^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 1,625
13년 전 조회 1,697
13년 전 조회 1,186
13년 전 조회 956
13년 전 조회 1,552
13년 전 조회 1,557
13년 전 조회 978
13년 전 조회 1,579
13년 전 조회 1,526
13년 전 조회 2,717
13년 전 조회 874
13년 전 조회 989
13년 전 조회 1,183
13년 전 조회 1,468
13년 전 조회 1,063
13년 전 조회 1,525
13년 전 조회 1,568
13년 전 조회 1,024
13년 전 조회 1,526
13년 전 조회 1,943