Page 1 of 1

Windows lite 1.8.1 compiled without magic_quotes_gpc?

PostPosted: 01. February 2013 15:58
by colbyt
I think there is a distinct possibility that 1.8.1 lite was compiled without magic_quotes_gpc. Whether by intent or omission?

If by intent the php.ini should reflect the change.

Scripts where a lazy programmer, me relied on the function in an older version now refused to work. They are working fine on two different production servers.

The php ini file says on my default but they aren't.

Adding magic_quotes_gpc=On to the ini file result in a fatal load error and the message not available.

Using addslashes() for the data resulted in all working well again. This was something I knew I would need to address in the future. I just did not expect it now.

Could a mod please move this to the English section?

Re: Windows lite 1.8.1 compiled without magic_quotes_gpc?

PostPosted: 01. February 2013 18:18
by Altrea
Hi colbyt,

A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning helps to get polite answers too. Please keep that in mind if you start a new thread.

colbyt wrote:Could a mod please move this to the English section?

done :D

colbyt wrote:I think there is a distinct possibility that 1.8.1 lite was compiled without magic_quotes_gpc. Whether by intent or omission?

magic_quotes_gpc was marked as deprecated in PHP 5.3 and fully removed in PHP 5.4
http://www.php.net/manual/en/info.confi ... quotes-gpc

best wishes,
Altrea

Re: Windows lite 1.8.1 compiled without magic_quotes_gpc?

PostPosted: 03. February 2013 01:15
by colbyt
You are absolutely correct I should have been more friendly and thanks for the thread move.