사이트 내 전체검색
그누보드
[팁] 댓글에 [ 이미지주소 ] 를 사용하여 이미지 표시하는 방법
로빈
https://cmd.kr/gnu/712 URL이 복사되었습니다.

본문

$str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);

댓글목록

등록된 댓글이 없습니다.

그누보드
190 (1/4P)

Search

Copyright © Cmd 명령어 18.216.123.120