|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-07-26 15:07 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 13:00:02 2026 UTC |
If i insert into a form field a <'> or a <"> or a <\> in the string var result i have <\`> or <\"> or <\\> respectly. The script that reproduces the problem is this: <FORM method=get> <input type=text name=ciccio value="<?print($ciccio);?>"> <input type=submit name=Submit value="submit"> </FORM> <?print("<h1>$ciccio</h1>");?> For example: In the text i write: "xx'xx\x" $ciccio var (after submit query) is: \"xx\'xx\\x\" This is a bug ? If you search on www.php.net trought the form you can view the problem. You write the string: """"" end it search: \"\"\"\"\"