Re: [PHP] PHP and Special Characters

2002-09-11 Thread Adam Williams

use stripslashes() or turn on magic quotes in php.ini

On Wed, 11 Sep 2002, Rick King wrote:

> Apache: 1.3.23
> PHP: 4.1.2
>
> Hello PHP Guru's!
>
> I have created a simple web form. When the form is complete and submitted,
> the results are emailed to an email account. But I have noticed that the '
> character is escaped.
> Example: John O\ 'Connor, instead of getting John O'Connor.
>
> Is this a problem within PHP or HTML?
> Has anyone else encountered this problem before? If so, what was the
> workaround?
>
> Any help would be greatly appreciated!
>
> Rick
>
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP and Special Characters

2002-09-11 Thread Rick King

Apache: 1.3.23
PHP: 4.1.2

Hello PHP Guru's!

I have created a simple web form. When the form is complete and submitted,
the results are emailed to an email account. But I have noticed that the '
character is escaped.
Example: John O\ 'Connor, instead of getting John O'Connor.

Is this a problem within PHP or HTML?
Has anyone else encountered this problem before? If so, what was the
workaround?

Any help would be greatly appreciated!

Rick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php