php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15517 odbc_execute() special quoted parameter handling not documented
Submitted: 2002-02-11 22:15 UTC Modified: 2002-02-13 02:08 UTC
From: torben@php.net Assigned: torben (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: torben@php.net
New email:
PHP Version: OS:

 

 [2002-02-11 22:15 UTC] torben@php.net
If one of the parameters in the array passed to 
odbc_execute() starts and ends with single quotes, that
parameter will be taken as the name of a file to read and
send instead of a string to be subsituted in the prepared
statement.

I'll add this later tonight, but I'm wondering: how can one
use a string which begins and ends with single quotes as
a parameter without this happening if one is stuck with 
using '' to escape single quotes instead of \'? Unless I'm 
missing something, I'll add that as a feature request later
today.


Torben

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-11 22:16 UTC] torben@php.net
Just assigning to myself--but if anyone can answer my 
question about escaping quotes, I'd be much obliged. :)


Torben
 [2002-02-13 02:08 UTC] torben@php.net
This bug has been fixed in CVS.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 00:00:02 2025 UTC