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.