게시판이나 리플 작성시에
192.168.***.1 이런식의 아이피로 출력하게 될때 쓰는 정규식 입니다.
정규식 공부에도 좋을꺼 같네요~
$ip = "192.168.0.1";
$ip = preg_replace("/(\d*).(\d*).(\d*).(\d*)/","\\1.\\2.***.\\4",$ip);
댓글 2개
12년 전
감사합니다.
12년 전
잘보겠슴돠~
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5152 |
senseme
|
12년 전 | 4153 | |
| 5151 |
senseme
|
12년 전 | 3732 | |
| 5150 |
프로프리랜서
|
12년 전 | 3129 | |
| 5149 |
프로프리랜서
|
12년 전 | 3967 | |
| 5148 |
프로프리랜서
|
12년 전 | 4353 | |
| 5147 |
프로프리랜서
|
12년 전 | 1585 | |
| 5146 |
senseme
|
12년 전 | 2712 | |
| 5145 |
senseme
|
12년 전 | 2703 | |
| 5144 |
senseme
|
12년 전 | 1245 | |
| 5143 | 12년 전 | 1282 | ||
| 5142 | 12년 전 | 8402 | ||
| 5141 |
senseme
|
12년 전 | 1505 | |
| 5140 |
senseme
|
12년 전 | 3743 | |
| 5139 |
senseme
|
12년 전 | 6328 | |
| 5138 |
senseme
|
12년 전 | 1546 | |
| 5137 | 12년 전 | 1133 | ||
| 5136 |
senseme
|
12년 전 | 1305 | |
| 5135 |
senseme
|
12년 전 | 3296 | |
| 5134 |
senseme
|
12년 전 | 1072 | |
| 5133 |
senseme
|
12년 전 | 1815 | |
| 5132 |
senseme
|
12년 전 | 1246 | |
| 5131 |
senseme
|
12년 전 | 904 | |
| 5130 | 12년 전 | 1396 | ||
| 5129 | 12년 전 | 2109 | ||
| 5128 |
senseme
|
12년 전 | 1381 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기