[TriLUG] PHP strange code question
Joseph Tate
dragonstrider at gmail.com
Fri Jan 7 17:42:01 EST 2005
On Fri, 7 Jan 2005 17:08:35 -0500, David Rasch <rasch at raschnet.com> wrote:
> For mysql, you can use "mysql_escape_string". You might try this
> resource which claims to have the equivilent for mssql:
> http://www.phpfreaks.com/quickcode/code/326.php
>
Please note that changing the magic_quotes_sybase = On will do the
same as the function on this page. I believe you can make that change
in user land using ini_set. So, don't bother writing your own
strreplace function as described in the linked article.
--
Joseph Tate
Personal e-mail: jtate AT dragonstrider DOT com
Web: http://www.dragonstrider.com
More information about the TriLUG
mailing list