LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » LxAdmin » Bug Report » SOLVED suphp & magic quotes settings
SOLVED suphp & magic quotes settings [message #30567] Fri, 16 May 2008 02:55 Go to next message
k0nan is currently offline k0nan  Italy
Messages: 495
Registered: May 2008
Master
lxadmin hostinabox cenots virtualized over hypervm

i set apache + mod_suphp
when i try to change advanced php settings like magic_quotes_gpc, it does not function.

in particular, magic_quotes_gpc is always set to OFF

this is very bad, since a lot of CMS (joomla, mambo, e107, wp and so on..) and some popular php script / pattern (lie the security token against CSRF attacks) requires that setting to be ON !

is there any fix to this strange behaviour ?



EDIT

i find the solution, by turning GPC ON on a per user basis.

regards.


An LxLabs satisfied customer

[Updated on: Fri, 16 May 2008 03:06]

Report message to a moderator

Re: SOLVED suphp & magic quotes settings [message #63427 is a reply to message #30567] Tue, 05 May 2009 05:39 Go to previous messageGo to next message
wicka is currently offline wicka  Hong Kong
Messages: 17
Registered: August 2008
Member
Hi,

I face this problem for my web program about this too. I just discover this now.

Why magic_quotes_gpc turned off by default?

It cause big security concern for SQL injection.

That is really a big big problem. Too bad.
Re: SOLVED suphp & magic quotes settings [message #63430 is a reply to message #63427] Tue, 05 May 2009 03:14 Go to previous messageGo to next message
lxbhargava is currently offline lxbhargava  
Messages: 597
Registered: May 2009
Master


Hello,

It will automatically adds some codes, and additional headaches, It is
ideal if it disabled by default. We need to tackle security issues while
coding.
On Tue, May 05, 2009 at 09:39:53AM -0000, Wicka wrote:
>
>
> Hi,
>
> I face this problem for my web program about this too. I just discover this now.




Thanks and Regards

S Bhargava
Lxlabs Support
Re: SOLVED suphp & magic quotes settings [message #63432 is a reply to message #30567] Tue, 05 May 2009 06:02 Go to previous message
wicka is currently offline wicka  Hong Kong
Messages: 17
Registered: August 2008
Member
Yes, that also an official recommendation from PHP manual.

may be that just my program problem, an old program coding and design.
Previous Topic:Spam training not work
Next Topic:maillog not flushed
Goto Forum:
  


Current Time: Tue May 21 09:36:28 EDT 2013

Total time taken to generate the page: 0.01097 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software