Jump to content

.htaccess what does this mean?


PC Nerd

Recommended Posts

Yes your host is right. php_flag or php_value is only available ifPHP is compiled as an Apache Module. What your hosts suggests is to use the ini_set function within your script to change PHP configuration rather than using an .htaccess file.

 

Have a read of the manual on ini_set for how to use it and what PHP settings you can change with it.

Yes you have to add it at the beginning of every page. Or if your script has a main configuration file that always gets included you just add it to the beginning of that file.

 

Unfortunately no there is not any alternatives due to the way your host has PHP setup.

I just downloaded the script of off sourceforge. I would say to add the following two lines at the begging of  htdocs/config.php

ini_set('session.auto_start', 'off');
ini_set('register_globals', 'off');

looking at the script config.php is the file that is always included and is the first file to be included for every page for V-Webmail.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.