Online Demo Address:
gb2312 version http://tools.jb51.net/tools/base64_decode-gb2312.php
UTF8 version http://tools.jb51.net/tools/base64_decode-utf8.php
Copy CodeThe code is as follows:
Header (' content-type:text/html; charset=gb2312 ');
$txt 1 = stripslashes (Trim (@$_post[' Text1 '));
$button = @$_post[' button '];
$down = @trim ($_get[' down ');
if ($down ==1) {
Header ("Content-type:command");
Header ("content-disposition:attachment; Filename=base64_decode.txt ");
$contents = file_get_contents (basename ($_server[' php_self '));
Echo $contents;
Exit
}
?>
<title>Base64 online encoding and decoding gb2312</title>
http://www.bkjia.com/PHPjc/322869.html www.bkjia.com true http://www.bkjia.com/PHPjc/322869.html techarticle Online Demo Address: gb2312 version http://tools.jb51.net/tools/base64_decode-gb2312.php UTF8 version http://tools.jb51.net/tools/ base64_decode-utf8.php copy code code as follows: Php ...