dashboard
repositories
filestore
activity
search
login
githubFork
/
roundcubemail
Roundcubemail devel
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
#1485266: changed rc_mime_content_type()'s failover to 'application/octet-s...
alecpl
2008-09-15
bce0348e896c3c0f9e8ae086944799e8144325fa
[githubFork/roundcubemail.git]
/
bin
/
html2text.php
1
2
3
4
5
6
7
8
9
10
11
<?
php
define
(
'INSTALL_PATH'
,
realpath
(
'./../'
)
.
'/'
);
require
INSTALL_PATH
.
'program/include/iniset.php'
;
$converter
=
new
html2text
(
html_entity_decode
(
$HTTP_RAW_POST_DATA
,
ENT_COMPAT
,
'UTF-8'
));
header
(
'Content-Type: text/plain; charset=UTF-8'
);
print
trim
(
$converter
->
get_text
());
?>