Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ameridan
ameridan
ViArtY has responded with the following response to another request:
 
There can be problem with IE and server settings how they handle http >headers.
By default in the download.php we set following header with original >filename:
 
header("Content-Disposition: attachment; >filename=$filename");
 
But if you server use zlib compression the IE doesn't correctly handle this >header and in this case you can try add following code before 'header' lines >to disable it:
 
if(ini_get('zlib.output_compression')) {
ini_set('zlib.output_compression', 'Off');
}
 
Thanks,
ViArt Support Team
 
and wonder if this can be changed to modify my php.ini regarding the SMTP server settings which are:
 
SMTP = no value
smtp_port = 25
 
I would love to be able to take advantage of the ViArt email capabilities but I get the usual SMTP errors and can't change the host php.ini file.
 
Would this work?
adding following code before 'header' lines:
 
if(ini_get('smtp')) {
ini_set('smtp', 'smtp.my_site.com');
}
 
and if so which php file do I add it to?
 
 
Anjula
Anjula
Hi,
 
You can edit the includes/common.php file by inserting the following two lines, namely:
 
ini_set("SMTP", "smtp.my_provider.com");
ini_set("smtp_port", "25");
 
with appropriate values for SMTP server and port after this line:
 
set_magic_quotes_runtime(0);
 
With regards,
ViArt Support Team
 
 
ameridan
ameridan
Thanks for the reply, however it did not work.
 
I, like many others, wish you could incorporate an optional mail method for those of us that don't host our own sites.