marz Posted February 23, 2005 Report Share Posted February 23, 2005 kaa var paarbaudiit sanjemto tekstu vai tajaa nav kaadi noteikti simboli($,%,& utt.)? Link to comment Share on other sites More sharing options...
Venom Posted February 23, 2005 Report Share Posted February 23, 2005 aā) strpos($strings,$simbols[,no kura simbola meklēt])!==false bē) salīdzināt oriģinālu ar str_replace(array('&','%',...),'',$string) cē) rakstīti preg_match bliezt htmlspecialchars() pa virsu un nestresot (ja tie ir komentāri) Link to comment Share on other sites More sharing options...
Recommended Posts