How to do anything to the strings in php BEFORE the form is sent?


Niklas


-----Original Message-----
From: James Holloway [mailto:[EMAIL PROTECTED]]
Sent: 12. syyskuuta 2001 11:28
To: Niklas lampén
Subject: Re: problem with form values


Hi Niklas,

use htmlentities() or htmlspecialchars() on the string before the form is
sent.  See the manual for more info.

James

----- Original Message -----
From: Niklas lampén
Newsgroups: php.general
To: Php-General
Sent: Wednesday, September 12, 2001 8:32 AM
Subject: problem with form values


If a user enters a quota ( " ) to a form field and sends it, the page trying
to process values gets only a backslash ( \ ). No matter if I use GET or
POST. How to get the right kind of a value?


Niklas


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to