views:

64

answers:

1

A client just recently moved an application through the stages to production. I set up a testing environment on an "out-of-the-box" LAMP server, and can submit a form with a tick in the textarea.

But in production the exact same code dies, but doesn't even execute the "or die();"

I mysql_real_escape_string the input, which is why it works in my test environment.

Why wouldn't this work on the "same" setup?

+1  A: 

Sounds like a php.ini issue, check your magic quotes options.

NeuroScr