Hi,
I am accepting some SQL via a textarea on a webform and then saving that SQL
in the database for later use....
everythings working fine on our test servers but for some reason on our
clients servers its screwing up.

For example this insert statement:
insert into test_ing values('a','a','a','a')

becomes:
insert into test_ing values (\'a\',\'a\',\'a\',\'a\')

I immediatly suspected "magic_quotes" but checked (via phpinfo) and see that
magic_quotes are off, as a safety precaution I even have
"set_magic_quotes_runtime(0)" in the "config.php" file...
I did see that "magic_quotes_gpc" is on, and then went to the PHP online
manual and it says this cant be fixed during runtime...? is this the
problem? if so how to fix it?

Thanks,
Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to