addslashes and magic_quotes_gpc - Joomla! Forum - community, help and support


i'm doing own database (mysql) updating , having trouble single quotes.  when enter sql update query o'reilly, (in database) "o\'reilly".  unacceptable use database non-joomla applications also.

  working before changed magic_quotes_gpc on, dictated installation checklist page.  went , turned magic_quotes_gpc off , used addslashes() manually.  works ok -- on test machine.  i'm worried when move code real server can't turn magic_quotes off, temporary solution not work.

has found way around magic_quotes_gpc vs addslashes problem?

of course, stripslashes in non-joomla apps, that's lot of work , it's hack, not real solution.

tia.

pete






Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'