Quote:
Originally posted by Zarkov
OK look for this code in private.php
PHP Code:
if (is_array($privatemessage)) {
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=messages.txt");
header("Pragma: no-cache");
header("Expires: 0");
and replace it with
PHP Code:
if (is_array($privatemessage)) {
header("Content-disposition: attachment; filename=messages.txt");
header("Content-type: uknown/unknown");
header("Pragma: no-cache");
header("Expires: 0");
Dont forget to change the filename=messages.txt to what ever you want to call the downloaded file.
|
Thanks!.. this fixed the problem .. now it is a download..