RE: [PHP] Re: problem with form values

From: Date: Wed, 12 Sep 2001 10:08:53 +0000
Subject: RE: [PHP] Re: problem with form values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67031@lists.php.net to get a copy of this message
Heh, we seem to have a bit of a problem with communicating with each other.. :) What I ment with the question is that how can I do something to the string before the form sends information to the next page? So can I somehow modify strings after pressing submit but before next page? Something like onSubmit="blah()". Niklas -----Original Message----- From: James Holloway [mailto:james@towntalk.co.uk] Sent: 12. syyskuuta 2001 12:01 To: Niklas Lampén Cc: php-general@lists.php.net Subject: [PHP] Re: problem with form values Sorry, I didn't mean it quite like that. After the user presses submit $string = htmlentities($string); // now, do whatever with the string J ----- Original Message ----- From: Niklas Lampén To: James Holloway ; Php-General Sent: Wednesday, September 12, 2001 9:52 AM Subject: RE: problem with form values How to do anything to the strings in php BEFORE the form is sent? Niklas -----Original Message----- From: James Holloway [mailto:james@towntalk.co.uk] 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

« previous php.general (#67031) next »