🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #230955

Re: odwrotność mysqli_real_escape_string()

#230955
From: adam
Date: Sat, 04 Apr 2015 22:20
17 lines
1587 bytes
Czesc "platformowe głupki". ;) -.-

On 2015-04-04, platformowe głupki <NOSPAMtestowanije@go2.pl> wrote:
> istnieje jakaś funkcja odwrotna do mysqli_real_escape_string() ?
stripslashes powinno dac rade chociaz nie jest to najlepszse rozwiazanie w tym 
przypadku. http://php.net/stripslashes

> albo jak sobie poradzić ze wstawianiem znaków \ w _POST w php?
Spowodowane to jest zapewne wlaczona opcja "magic quotes" co nie jest dobrym 
rozwiazaniem. Polecam przeczytac dlaczego tak walsnie: 
http://php.net/manual/en/security.magicquotes.what.php

> bez edycji konfiguracji php oczywiście...
mozna tez ini_set ('magic_quotes_gpc', FALSE);

Pozdrawiam,
A.
Technical Details
Message-ID: <UsZTw.31559$8q6.3739@fx24.fr7>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.supermedia.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!cyclone02.ams2.highwinds-media.com!voer-me.highwinds-media.com!peer02.am1!peering.am1!peer02.fr7!news.highwinds-media.com!post02.fr7!fx24.fr7.POSTED!not-for-mail
References: <mfpknp$se8$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.supermedia.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!cyclone02.ams2.highwinds-media.com!voer-me.highwinds-media.com!peer02.am1!peering.am1!peer02.fr7!news.highwinds-media.com!post02.fr7!fx24.fr7.POSTED!not-for-mail
Newsgroups: pl.comp.lang.php
From: adam <adam@lostwire.net>
Subject: Re: odwrotność mysqli_real_escape_string()
References: <mfpknp$se8$1@node1.news.atman.pl>
User-Agent: slrn/1.0.2 (Linux)
Mime-Version: 1.0
Lines: 17
Message-ID: <UsZTw.31559$8q6.3739@fx24.fr7>
X-Complaints-To: abuse@newsdemon.com
NNTP-Posting-Date: Sat, 04 Apr 2015 22:20:36 UTC
Organization: http://www.NewsDemon.com
Date: Sat, 04 Apr 2015 22:20:36 GMT
X-Received-Body-CRC: 3337640677
X-Received-Bytes: 1388
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit