Re: First Questions
| From: | Jason Stechschulte | Date: | Mon, 17 Jun 2002 19:22:25 +0000 |
| Subject: | Re: First Questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102572@lists.php.net to get a copy of this message | ||
On Mon, Jun 17, 2002 at 03:12:02PM -0400, James Drabb wrote:
> If you open this page up and put in jim for the user and jim for the password and
> hit submit, the page shows the output of the form vars. However, if you use
> jim for the username and <jim> for the password (<,> are part of the password) then
> the password does not show up. What am I missing? does PHP do something else
> with the posted data depending on its content?
< & > are used for HTML tags, so the browser is doing this to you. You
need to convert < to < and > to > There are a couple of PHP
functions that will do this for you.
--
Jason Stechschulte
stech@bright.net
--
Those who educate children well are more to be honored than parents, for
these only gave life, those the art of living well.
-- Aristotle