I am making an upload system. Could someone upload a virus to my site and if so, how do i prevent that. Also how do i prevent code from being displayed on a tagboard.
I am making an upload system. Could someone upload a virus to my site and if so, how do i prevent that. Also how do i prevent code from being displayed on a tagboard.
At 5/24/04 06:54 PM, SharredPrism wrote: I can't show you the code you need due to NG's code crap, so I made a text file to show you here .
Dude... That is not a very good way of doing things at all!
If you're using PHP, just use htmlentities(), htmlspecialchars(), or strip_tags() on the variable(s).