RE: [PHP] Single Quotes in Oracle Queries
| From: | Richard Crawford | Date: | Wed, 11 Apr 2001 18:25:14 +0000 |
| Subject: | RE: [PHP] Single Quotes in Oracle Queries | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48190@lists.php.net to get a copy of this message | ||
The quotes are indeed coming from a FORM. I'll look into
magic_quote_sybase. Thanks!
>>>>>>>>>>>>>>>>>> Original Message
>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<
On 4/11/01, 11:19:26 AM, "Johnson, Kirk" <kjohnson@zootweb.com> wrote
regarding RE: [PHP] Single Quotes in Oracle Queries:
> Where are the strings coming from? If from a <FORM>, then
> magic_quotes_sybase (in php.ini) is your friend. If from elsewhere, see
> magic_quotes_runtime for possible help (also in php.ini).
> Kirk
> > -----Original Message-----
> > From: Richard Crawford [mailto:rcrawford@mossroot.com]
> > Sent: Wednesday, April 11, 2001 12:05 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Single Quotes in Oracle Queries
> >
> >
> > Before we go about writing new functions to handle single
> > quotes for our
> > Phorum reengineering project, I need to know if there is a
> > way for PHP to
> > easily handle the issue of passing strings to a PL/SQL script, which
> > requires that single quotes be doubled up: that "I don't know" is
> > properly translated into "I don''t know". In my dreams, this
> > is handled
> > by OCIParse or even OCIExecute, but I have a sinking feeling
> > that this
> > isn't the case, and that we'll need to do an extra parsing
> > step for all
> > of our strings that are inserted into the database, just for single
> > quotes.
> >
> > Help!
> >
> > Richard
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net