downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_binary> <imap_append
[edit] Last updated: Fri, 11 Nov 2011

view this page in

imap_base64

(PHP 4, PHP 5)

imap_base64BASE64 でエンコードされたテキストをデコードする

説明

string imap_base64 ( string $text )

BASE64 でエンコードされたテキスト text をデコードします。

パラメータ

text

エンコードされたテキスト。

返り値

デコードしたメッセージを文字列で返します。

参考

  • imap_binary() - 8 ビット文字列を base64 文字列に変換する
  • base64_encode() - MIME base64 方式でデータをエンコードする
  • base64_decode() - MIME base64 方式によりエンコードされたデータをデコードする
  • » RFC2045, Section 6.8



add a note add a note User Contributed Notes imap_base64
chris at deliens dot be 05-Mar-2011 02:15
Looks like this function has exactly the same behavior as base64_decode($test, true) -> it returns FALSE if $text contains characters outside the Base64 alphabet, although this isn't documented here.

 
show source | credits | sitemap | contact | advertising | mirror sites