I'm sending post data via a <textarea> element in a form. If I send say " I'd like to receive " and not ". Is PHP responsible for this? And if so how can this behavior be prevented please?
Thanks!
Is PHP subbing post char entities? If so, how to stop?
Moderator: General Moderators
-
Mick Pearson
- Forum Newbie
- Posts: 2
- Joined: Thu Jan 22, 2009 12:55 pm
-
Mick Pearson
- Forum Newbie
- Posts: 2
- Joined: Thu Jan 22, 2009 12:55 pm
Re: Is PHP subbing post char entities? If so, how to stop?
Ok. turns out what threw me for a loop was at some point the text inside <textarea> tags is automatically converted into character entities in the document, then presumably unconverted before sent. So to undo this I converted it manually in advance (double converting the stuff I wanted to keep)
Very handy if you ever wanna simulate a command line for your host
Very handy if you ever wanna simulate a command line for your host