RE: [phplib] whos escaping the data From: Nebbe, Joelle (Joelle.Nebbe <email protected>)
Date: 10/12/00

> Turn off magic_quotes (either locally or in php.ini).
>
> (It's a php thing, not phplib).

Well it is a phplib issue, though. The installation instructions mention:
"check that track_vars are enabled and that you have enabled
magic_quotes_gpc"

Now magic_quotes_gpc does that escaping above, but it seems that it
is needed by phplib. I have wondered about that because magic_quotes_gpc
is an annoyance to me, it forces me to run everything through a string
replace function to change \' to '' to build my SQL queries. Now on the
php only front i could switch those magic quotes off and turn the
sybase magic quotes on, but I can't cause the phplib documentation
says it needs that.

What's the truth on the matter?

Joelle Nebbe

_______________________________________________________________________
Any opinions expressed in the email are those of the individual and not
necessarily the company. This email and any files transmitted with it
are confidential and solely for the use of the intended recipient.

If you are not the intended recipient or the person responsible for
delivering to the intended recipient, be advised that you have received
this email in error and that any use is strictly prohibited.

If you have received this email in error please notify the IT manager
by telephone on 0113 243 2701
_______________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>