[geeklog-devel] Forum Issues
Blaine Lang
langmail at sympatico.ca
Wed Feb 26 15:17:30 EST 2003
I've added debug statements on my sites to code to test the setting for
magic_quotes_gpc is working but I wonder if on other sites this is failing..
In public/forum/include/gf_format.php - the function is gf_preparefordb()
The code to test the setting is
if ( get_magic_quotes_gpc() ) {
Add a debug output to test both cases of this if statement such as:
COM_errorLOG("magic_quotes_gpc is on");
and for the off state check
If may be that on some sites it is not being properly detected
Maybe I need to be using
if (get_magic_quotes_gpc() = = 1 ) {
Blaine
More information about the geeklog-devel
mailing list