hi,
<input type="text" name="var" value="<?php echo htmlentities(strip($_POST['var']); ?>"/>
( strip zieht optional die Backslashes, wenn get_magic_quotes_gpc() )
PHP kennt kein strip(). das hast du dir nur eingebildet, vermutlich weil du den gestrigen abend zu lange in einschlägigen etablissements verbracht hast :-)
stripslashes() meintest du sicher.
gruß,
wahsaga
--
I'll try being nicer if you'll try being smarter.
I'll try being nicer if you'll try being smarter.