tiy Posted March 27, 2006 Report Share Posted March 27, 2006 Ka var izvadit tekstu 1:1 tas ir lai nerastos lieki \ , html kods nepalaistos un, kad ieraksta [ , tos ari nemainitu uz simboliem, tieshi tapat ka foruma. Link to comment Share on other sites More sharing options...
Delfins Posted March 27, 2006 Report Share Posted March 27, 2006 htmlenties() vai kas tam līdzīgs RTFM, anyway... daudz piemēru Link to comment Share on other sites More sharing options...
Stopp Posted March 27, 2006 Report Share Posted March 27, 2006 stripslashes(); varbūt strip_tags(); (ja gribi, lai html vispār izzūd) htmlspecialchars (bez strip_tags viņš pārvērtīs html par lasāmu html) Link to comment Share on other sites More sharing options...
tiy Posted March 27, 2006 Author Report Share Posted March 27, 2006 $str=htmlentities($str); $str=stripslashes($str); paldies viss ok shita ir laba kombinacija Link to comment Share on other sites More sharing options...
Recommended Posts