hi list
I work on a cookbook script for generating css via php.

So the admin can save ptv's on a wikipage. The script get's the ptv and 
generates the css.
What is the best way to prevent submitting malicious code like 
javascript. Is there a standard or  common used filter function for 
that.  The filter should accept the css syntax bot nothing more. Example:

#123456
1px solid red
0.8em
url(http://domain.net/img.jpg)

thanks for any hints
nos


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to