Re: [phplib] whos escaping the data From: Arno A. Karner (karner <email protected>)
Date: 10/11/00

like duh i know stripslashs does that, thats not what i asked and thats
my fault for no being more clear, ive upgraded apache, php, and phplib
every thing works or at least i thought so. but data i enter in the
browser if it contains a single or double qoute is being escaped in the
post variable and i do not want this to happen i dont want to add the
code strip slashes on all post data because i use backslashed data when
entering printer escape codes for reports
so what didnt i configure the same, or what changed from
apache 1.3.9 -> 1.3.15
php3 -> php4
phplib7.2 > phplib 7.2c

ps and yes this may be the wrong list, but since phplib manipulats
postdata
im not sure its not the one, and i supose i could spam all three lists
apache, php, and phplib but i usaly find help on this list even if i
take a few flames in the process

Michael Chaney wrote:
>
> > switched to php4, apache 1.3.15, phplib 7.2c
> > now when i type in date > '2000-10-01' hit submit button
> > i get post vars filt=date > \`2000-10-01\' which doesnt make a good sql
> > where clause, could some one spoon feed me the config option i need to
> > change
> > is it apache, php_mod4, or a header sent to the browser all seem
> > possible to me, ive also upgraded them all since the last time i tried
> > this
>
> Please post php questions to a php list next time; this list is for phplib.
>
> You should use the php function "stripslashes" to remove the backslashes,
> but you need to consider all consequences of what you're doing.
>
> Michael
> --
> Michael Darrin Chaney
> mdchaney <email protected>
> http://www.michaelchaney.com

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