(→같이 보기) |
(→개요) |
||
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
==개요== | ==개요== | ||
;PHP urlencode() | ;PHP urlencode() | ||
< | <syntaxhighlight lang='PHP' run> | ||
echo urlencode('개요'); | echo urlencode('개요'); # %EA%B0%9C%EC%9A%94 | ||
# %EA%B0%9C%EC%9A%94 | </syntaxhighlight> | ||
echo urlencode('hello 123 http://zetawiki.com 한글'); | <syntaxhighlight lang='PHP' run> | ||
# hello+123+http%3A%2F%2Fzetawiki.com+%ED%95%9C%EA%B8%80 | echo urlencode('hello 123 http://zetawiki.com 한글'); # hello+123+http%3A%2F%2Fzetawiki.com+%ED%95%9C%EA%B8%80 | ||
</ | </syntaxhighlight> | ||
==같이 보기== | ==같이 보기== |
2021년 4월 14일 (수) 15:45 기준 최신판
1 개요[ | ]
- PHP urlencode()
PHP
CPU
0.0s
MEM
22M
0.0s
Copy
echo urlencode('개요'); # %EA%B0%9C%EC%9A%94
%EA%B0%9C%EC%9A%94
PHP
Copy
echo urlencode('hello 123 http://zetawiki.com 한글'); # hello+123+http%3A%2F%2Fzetawiki.com+%ED%95%9C%EA%B8%80
Loading
2 같이 보기[ | ]
- PHP urldecode() - URL-인코딩된 문자열을 디코딩
- PHP htmlentities() - 적용가능한 문자들을 HTML 엔티티로 변환
- PHP rawurlencode() - RFC 3986에 따른 URL 인코딩
- PHP rawurldecode() - URL-인코딩된 문자열을 디코딩
- 함수 urlencode()
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- PHP (8)
PHP 파일 다운로드 구현 2 (한글 파일명 지원) ― …PHP에서 오라클 DB 사용 ― YoWuPHP 파일 업로드 구현 ― 일리단사오육칠PHP 파일 업로드 구현 ― JmnotePHP 파일 다운로드 구현 2 (한글 파일명 지원) ― AnmkstLib my.php ― 신정섭Lib my.php ― Jmnote로또번호 생성 ―Pinkcrimson