开发者

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

开发者 https://www.devze.com 2022-12-24 20:33 出处:网络
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

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

精彩评论

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

关注公众号