Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have my site with profiles and I was wondering how to make it so only css was operational and no other code? So if someone typed <style>CSS HERE</style><html>HTML HERE</html> it would ignore the html and just keep the css!
Posted
Comments
Mohibur Rashid 5-Jun-14 20:08pm    
エモンガ=emonga, anyway, you will have to parse your text with javascript or other way.
By the way, if your name is actually Emolga then it would be エモ-ガ . Sorry for being annoying
Sergey Alexandrovich Kryukov 5-Jun-14 23:13pm    
Why?..
—SA

1 solution

I used strip_tags(item,<style></style>)
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Jun-14 23:13pm    
What an abuse of technology! And you call it "solution" and even self-accept it...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900