If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
PHP में base64_encode() function , MIME base64 के साथ data को encode करता है। base64 encoded data 33% ज्यादा space consume करता है। means Original data से encoded data 33% ज्यादा बड़ा होता है।
base64_encode ( string $string )
string $string | required : string value जिसे encode करना है।
Return Value : base64 encoded string return करता है।
<?php $str = "Hello world !"; echo base64_encode($str); ?>Output
SGVsbG8gd29ybGQgIQ==
base64 encoded string को decode करने के लिए base64_decode() function का use किया जाता है।
Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)
Get connected with me. :) LinkedIn Twitter Instagram Facebook