Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread seungp
escaping trigger happy Just a quick Q, which I know has to be in the docs somewhere, but I haven't come across it yet- PHP automatically escaping single and double quotes... how to turn it off? I.e.- in a form text input, someone inputs love's influence grows and on the posted page I get: love

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Govinda
You guys got me on the right track, but: On my Mac OS10.5.4/Apache2/webmin local (dev) setup (of which I know very little) I managed to find php.ini.default, make a copy while renaming to php.ini, open the copy (php.ini), and change that on to an off (the only one of the 3 that was on).

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Seung Park
1) did you restart the server to take advantage of the new settings? 2) are you sure you're running the php.ini at all? (run phpinfo() from a page to make sure that the server has read the right copy of php.ini) On Tue, Sep 2, 2008 at 4:12 PM, Govinda [EMAIL PROTECTED] wrote: You guys got

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-02 Thread Govinda
On Sep 2, 2008, at 6:02 PM, Seung Park wrote: 1) did you restart the server to take advantage of the new settings? no. That was it. Solved. Sorry for what turned out to be OT. When we're that green, we don't know OT from T. 2) are you sure you're running the php.ini at all? (run

[PHP] newbie - PHP escaping trigger happy

2008-09-01 Thread Govinda
Just a quick Q, which I know has to be in the docs somewhere, but I haven't come across it yet- PHP automatically escaping single and double quotes... how to turn it off? I.e.- in a form text input, someone inputs love's influence grows and on the posted page I get: love\'s \influence\

Re: [PHP] newbie - PHP escaping trigger happy

2008-09-01 Thread Eric Butera
On Mon, Sep 1, 2008 at 10:21 PM, Govinda [EMAIL PROTECTED] wrote: Just a quick Q, which I know has to be in the docs somewhere, but I haven't come across it yet- PHP automatically escaping single and double quotes... how to turn it off? I.e.- in a form text input, someone inputs love's