On Fri, 7 Jan 2005 17:08:35 -0500, David Rasch <[EMAIL PROTECTED]> 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
-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to