Windows lite 1.8.1 compiled without magic_quotes_gpc?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Windows lite 1.8.1 compiled without magic_quotes_gpc?

Postby colbyt » 01. February 2013 15:58

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?
colbyt
 
Posts: 7
Joined: 03. January 2008 16:41
XAMPP Version: 5.6.3
Operating System: windows 7

Re: Windows lite 1.8.1 compiled without magic_quotes_gpc?

Postby Altrea » 01. February 2013 18:18

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6947
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: Windows 10 Pro x64

Re: Windows lite 1.8.1 compiled without magic_quotes_gpc?

Postby colbyt » 03. February 2013 01:15

You are absolutely correct I should have been more friendly and thanks for the thread move.
colbyt
 
Posts: 7
Joined: 03. January 2008 16:41
XAMPP Version: 5.6.3
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests