Article View: comp.os.vms
Article #73Re: PHP "Features"
From: Arne Vajhøj
Date: Sat, 24 Oct 2026 23:46
Date: Sat, 24 Oct 2026 23:46
21 lines
2020 bytes
2020 bytes
On 10/24/2026 6:43 PM, Lawrence D’Oliveiro wrote: > On Sat, 24 Oct 2026 11:59:30 -0400, Arne Vajhøj wrote: >> First note that the recommended way to use mysqli is to use prepare. >> mysqli_real_escape_string only exist for extraordinary >> circumstances. > > What do you use for LIKE and REGEXP clauses? prepare of course. >> PHP mysqli_real_escape_string put backslashes in front of >> problematic characters. > > Note that backslash-escapes are not standard SQL. True. But mysqli_ is only for MySQL, so ... Arne
Technical Details
Message-ID:
<11bjfvm$35qiv$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bcbi1$k068$1@dont-email.me> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bi7bg$2mdi4$1@dont-email.me> <11bikkl$2rllh$1@dont-email.me> <11bjcal$340l8$9@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Arne Vajhøj <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: PHP "Features" Date: Sat, 24 Oct 2026 19:46:12 -0400 Organization: A noiseless patient Spider Lines: 21 Message-ID: <11bjfvm$35qiv$1@dont-email.me> References: <11bcbi1$k068$1@dont-email.me> <nk1gv8F1eecU1@mid.individual.net> <11bgih8$f7a$1@reader2.panix.com> <nk2bhaF5j2sU1@mid.individual.net> <11bh3ei$19g$1@reader2.panix.com> <11bi7bg$2mdi4$1@dont-email.me> <11bikkl$2rllh$1@dont-email.me> <11bjcal$340l8$9@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 24 Oct 2026 23:45:59 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3336799"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cKYp/38520HxJNF+5o5Eh7RMew+TRO+s="; posting-host="90629bce1c2634862ed525d6a667363b" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:CQv5LN0Kx+bv7ECH6PLELhCA880= sha256:6oXP5M42Eq7BxspvrnUbD8u1KYdXUt++WEpVMwjmh4w= sha1:5f9cWtnaH9Ww0J+MbLDdRauI/MI= sha256:srGhr3+G/ajrgC4p0+GS+mkRHnKHPhDITaEvh/3Q+V8= Content-Language: en-US In-Reply-To: <11bjcal$340l8$9@dont-email.me>