php as default "value" in html
| From: | Andy B | Date: | Sun, 04 Apr 2004 16:34:09 +0000 |
| Subject: | php as default "value" in html | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182286@lists.php.net to get a copy of this message | ||
"htmlentities(), also.
<input type="text" name="referred" value="<?echo
htmlentities($old['Referred']);?>" accesskey="d"
id="id-referred">
Other wise the value could have a double quote within it and a malicious
user could effectively "end" your input text box and inject their own HTML."
is there any way to keep multiple users using the same form from mixing up
variables