开发者

On form submittal, a tick kills the app. But only in production

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 wit开发者_如何学运维h 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜