View Single Post
Old 07-13-2004, 08:58 AM   #9
Ross
Green Mole
 
Join Date: Jul 2004
Location: Paris
Posts: 5
The solution

in //Parse content-type header replace :

switch ($regs[2]) {
case 'plain':
$status = 'PLAINTEXT';
break;
case 'html':
$status = 'HTML';
break;
default :
$status = "NOFILE";
$stop = true;

with :

switch ($regs[2]) {
case 'plain':
$status = 'PLAINTEXT';
break;
case 'rtf':
$status = 'MSWORD';
break;
case 'html':
$status = 'HTML';
break;
default :
$status = "NOFILE";
$stop = true;
Ross is offline   Reply With Quote