PHP: base64_decode - Manual in Deutsh
PHP: base64_decode - Manual in French
PHP: base64_decode - Manual in Polish

You Are At PHP: base64_decode - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

base64_decode

(PHP 3, PHP 4, PHP 5)

base64_decode -- Decodes data encoded with MIME base64

Description

string base64_decode ( string data [, bool strict] )

Decodes a base64 encoded data.

Parameters

data

The decoded data.

strict

Returns FALSE if input contains space or some other separator.

Return Values

Returns the original data or FALSE on failure. The returned data may be binary.

ChangeLog

VersionDescription
5.2.0strict added

Examples

Example 1. base64_decode() example

<?php
$str
= 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo
base64_decode($str);
?>

The above example will output:

This is an encoded string

See Also

base64_encode()
RFC 2045 section 6.8

Karma pedigree - Najlepsza dla twojego zwierzaka
fotograf ślubny lublin
raty
forma spółki
Wykaz informacyjny dodaj stronę

Another Useful functions:


function.imap-base64 | function.cybercash-base64-encode | function.cybercash-base64-decode | function.base64-encode | function.base64-decode |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.