Hi, when I enter my name which includes an apostrophe (D'Onofrio) in
the Identities tab it is displayed as D'Onofrio. Any chance of
fixing this?
Thanks.
You PHP installation seems to have magic_quotes activated. Make sure this is turned off in php.ini or at least for the RoundCube directory (using .htaccess)
Regards, Thomas
Tancredi D'Onofrio wrote:
Hi, when I enter my name which includes an apostrophe (D'Onofrio) in the Identities tab it is displayed as D'Onofrio. Any chance of fixing this?
Thanks.
I think that some configurations can be inserted in constants file of the rcube project, like this:
<?php ini_set("short_open_tag", "On"); ini_set("register_globals", "On"); ini_set("register_long_arrays", "On"); // Here was the config por magic quotes ( D\'Onofrio ) ini_set("magic_quotes_gpc", "Off"); ini_set("display_errors", "On"); ini_set("log_errors", "On"); ?>
This code turn the RoundCube independent of the config of file php.ini and turn it equal in all internet servers, without more configuration.
In example I put some vars utilized by an another project builded by me in php and cannot be the same as roundcube. It is so a example.
Regards,
Valber Marcel Bueno
----- Original Message ----- From: "Thomas Bruederli" roundcube@gmail.com To: "RoundCube Dev" dev@lists.roundcube.net Sent: Monday, January 23, 2006 11:51 AM Subject: Re: [RoundCube Dev] Escaped characters
You PHP installation seems to have magic_quotes activated. Make sure this is turned off in php.ini or at least for the RoundCube directory (using .htaccess)
Regards, Thomas
Tancredi D'Onofrio wrote:
Hi, when I enter my name which includes an apostrophe (D'Onofrio) in the Identities tab it is displayed as D'Onofrio. Any chance of fixing this?
Thanks.
Thanks for that. Of course you're right. Just the error settings are already altered by RC depending on the debug_level that can be configured. register_globals is not necessary for RC and should be disabled for security reasons.
Regards, Thomas
Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this:
<?php ini_set("short_open_tag", "On"); ini_set("register_globals", "On"); ini_set("register_long_arrays", "On"); // Here was the config por magic quotes ( D\'Onofrio ) ini_set("magic_quotes_gpc", "Off"); ini_set("display_errors", "On"); ini_set("log_errors", "On"); ?>
This code turn the RoundCube independent of the config of file php.ini and turn it equal in all internet servers, without more configuration.
In example I put some vars utilized by an another project builded by me in php and cannot be the same as roundcube. It is so a example.
Regards,
Valber Marcel Bueno
----- Original Message ----- From: "Thomas Bruederli" roundcube@gmail.com To: "RoundCube Dev" dev@lists.roundcube.net Sent: Monday, January 23, 2006 11:51 AM Subject: Re: [RoundCube Dev] Escaped characters
You PHP installation seems to have magic_quotes activated. Make sure this is turned off in php.ini or at least for the RoundCube directory (using .htaccess)
Regards, Thomas
Tancredi D'Onofrio wrote:
Hi, when I enter my name which includes an apostrophe (D'Onofrio) in the Identities tab it is displayed as D'Onofrio. Any chance of fixing this?
Thanks.
Not all hosts allow ini_set, and I get occasional complaints from
people who get error messages and say LifeType is junk because you can't run it without errors, due to the few ini_set commands that we do include in the code.
On Mon, 23 Jan 2006, Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this:
Not all hosts allow php flags in .htaccess either :)
Mark
Jon Daley wrote:
Not all hosts allow ini_set, and I get occasional complaints from
people who get error messages and say LifeType is junk because you can't run it without errors, due to the few ini_set commands that we do include in the code.
On Mon, 23 Jan 2006, Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this:
Correct. I am not sure what the easiest/best thing to do is, I
just wanted people to be aware that by adding these lines to the default code would result in total crashes for some people.
On Mon, 23 Jan 2006, Mark Dehus wrote:
Not all hosts allow php flags in .htaccess either :)
Jon Daley wrote:
Not all hosts allow ini_set, and I get occasional complaints from
people who get error messages and say LifeType is junk because you can't run it without errors, due to the few ini_set commands that we do include in the code.
On Mon, 23 Jan 2006, Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this:
I understand. I don't think there is a 'correct' way to do it. The only thing that can be done is make a note in the documentation and explain both ways to do it. The people that don't have the ability to do either are just out of luck and should contact their hosting provider.
Jon Daley wrote:
Correct. I am not sure what the easiest/best thing to do is, I
just wanted people to be aware that by adding these lines to the default code would result in total crashes for some people.
On Mon, 23 Jan 2006, Mark Dehus wrote:
Not all hosts allow php flags in .htaccess either :)
Jon Daley wrote:
Not all hosts allow ini_set, and I get occasional complaints
from people who get error messages and say LifeType is junk because you can't run it without errors, due to the few ini_set commands that we do include in the code.
On Mon, 23 Jan 2006, Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this:
I think there is a sort-of-nice workaround for this:
@ini_set("magic_quotes_gpc", "Off");
This will update the settings on hosts allow it, and fail silently on hosts not supporting it.
Jon Daley wrote:
Not all hosts allow ini_set, and I get occasional complaints from
people who get error messages and say LifeType is junk because you can't run it without errors, due to the few ini_set commands that we do include in the code.
On Mon, 23 Jan 2006, Marcel Bueno wrote:
I think that some configurations can be inserted in constants file of the rcube project, like this: