Hi,
Thursday, March 11, 2004, 3:23:20 AM, you wrote:
J> My ISP has the following settings in their php.ini file:
J> magic_quotes_gpc = ON
J> magic_quotes_sybase = OFF
J> I am using a Windows Server and a SQL Server database.
J> I need to set magic_quotes_sybase to ON so that quotes will be escaped
J> with another quote instead of a slash. However, I do not have access
J> to the php.ini file. Is there something like the .htaccess file that
J> can be used on a Windows server?
J> My ISP is using PHP v4.3.0.
J> Thank you!
J> Jeremy Markman
A quick fix is
str_replace("'","''",stripslashes($input));
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php