this script works as expected, if you don't submit ",' and \ but if you use ",' or \ these characters will be quoted with \ "'\test"'\ -> \"\'\\test\"\'\\ <? echo htmlentities($val)."<form method=GET><input type=text name=val><input type=submit></form>"; ?> how to get rid of this??? I don't want any character been quoted!!! thanks michi -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a -- 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]