note 130658 added to function.base64-encode

From: Date: Tue, 17 Feb 2026 07:32:59 +0000
Subject: note 130658 added to function.base64-encode
Groups: php.notes 
Request: Send a blank email to php-notes+get-222550@lists.php.net to get a copy of this message
This worked for me: <?php function base64url_encode( $data ){ return urlencode( base64_encode($data) ); } function base64url_decode( $data ){ return base64_decode( urldecode($data) ); } ?> ---- Server IP: 206.189.2.9 Probable Submitter: 81.61.112.51 ---- Manual Page -- https://php.net/manual/en/function.base64-encode.php Edit -- https://main.php.net/note/edit/130658 Del: integrated -- https://main.php.net/note/delete/130658/integrated Del: useless -- https://main.php.net/note/delete/130658/useless Del: bad code -- https://main.php.net/note/delete/130658/bad+code Del: spam -- https://main.php.net/note/delete/130658/spam Del: non-english -- https://main.php.net/note/delete/130658/non-english Del: in docs -- https://main.php.net/note/delete/130658/in+docs Del: other reasons-- https://main.php.net/note/delete/130658 Reject -- https://main.php.net/note/reject/130658 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#222550) next »