Forum Moderators: mack

Message Too Old, No Replies

Escaped

         

madcat

5:00 pm on Oct 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey-

The content written in the description area of a form I have is sent back in email to certain people. When apostrophes are written in the description element they are escaped in the output...how can I filter those out? I'm using PHP in the form script- (not sure if this is a php problem):0~

people's looks like people\'s...

Thanks

amoore

5:26 pm on Oct 8, 2002 (gmt 0)

andreasfriedrich

6:49 pm on Oct 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



not sure if this is a php problem

Itīs a php feature ;). This behaviour can be changed with the magic_quotes_gpc [php.net] configuration directive.

Andreas

madcat

9:17 pm on Oct 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for your help. Wrapping the email $content variable in a stripslashes function did the trick.