Apostrophe problem after sending email
Posted 07 April 2006 - 07:19 PM
I used some PHP script for sending email but found a problem. When I type an apostrophe in textrea, I get email like following.
Typed : Let's go
Delivered: Let\'s go
Does anyone have any idea why it is happening?
Posted 07 April 2006 - 07:22 PM
Posted 07 April 2006 - 09:01 PM
"You men tioned in your last message that he should register again in order to receiv e the"
I tried to find a pattern and looks like it happens every 14 characters.
[!--quoteo(post=362631:date=Apr 7 2006, 07:22 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Apr 7 2006, 07:22 PM) [/div][div class=\'quotemain\'][!--quotec--]
You have magic quotes (see [a href=\"http://www.php/net/get_magic_quotes_runtime\" target=\"_blank\"]get_magic_quotes_runtime[/a]) turned on in your php.ini file. Use the function [a href=\"http://www.php.net/stripslashes\" target=\"_blank\"]stripslashes[/a]() to remove the slashes.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users