> well, since magic mode could be corrupted if we handly playing with the string, e.g.
> adding slash into string, i wrong here. the only problem was the reported bug thats
> now fixed on the cvs. this fix also addslashes no matter sybase or not but still
> exist delte between sybase and regula
> the problem is also for 'regular' magic mode.
> the addslashes add slashes anly when the slash follow by '\'' or '\"' or
> '\\' but on stripslashes it's nuke all the slashes without considering whats
> came after that.
well, since magic mode could be corrupted if we handy playing with the strin
there is one more problem just like the
http://bugs.php.net/bug.php?id=22904 bug
the problem is also for 'regular' magic mode.
the addslashes add slashes anly when the slash follow by '\'' or '\"' or
'\\' but on stripslashes it's nuke all the slashes without considering whats
came after that.
her
"Sander Roobol" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, Mar 31, 2003 at 03:45:13PM +0200, moshe doron wrote:
> > could some1 explain the first if here (php_stripslashes:cybase mode)
> > http://lxr.php.net/source/php4/ext/standard/string.c#2324
> > that have nothing wi
Quoting Jani Taskinen <[EMAIL PROTECTED]>:
> Heh..so magic_quotes_sybase ini setting affects how stripslashes()
> function works too? Pretty high WTF factor there. It should be
> an additional option for php_stripslashes() that is passed where
> appropriate.
As long as it affects
Heh..so magic_quotes_sybase ini setting affects how stripslashes()
function works too? Pretty high WTF factor there. It should be
an additional option for php_stripslashes() that is passed where
appropriate.
--Jani
On Mon, 31 Mar 2003, Sander Roobol wrote:
>On Mon, Mar 31
On Mon, Mar 31, 2003 at 03:45:13PM +0200, moshe doron wrote:
> could some1 explain the first if here (php_stripslashes:cybase mode)
> http://lxr.php.net/source/php4/ext/standard/string.c#2324
> that have nothing with slashes but with quotes?
Sybase escapes ' with '' and NUL with \0 so we needed a