PHP urlsafe_b64encode()

Jmnote (토론 | 기여)님의 2021년 7월 19일 (월) 10:55 판 (새 문서: ==개요== {{DISPLAYTITLE:PHP urlsafe_b64encode()}} ;PHP urlsafe_b64encode() <syntaxhighlight lang='php' run> function urlsafe_b64encode($input) { return strtr(base64_encode($inpu...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

PHP urlsafe_b64encode()
function urlsafe_b64encode($input)
{
    return strtr(base64_encode($input), '+/', '-_'); # SGVsbG8gV29ybGQ=
}
echo urlsafe_b64encode('Hello World');

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}