Blocking Javascript using PHP3

From: Date: Tue, 23 May 2000 11:41:00 +0000
Subject: Blocking Javascript using PHP3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-344@lists.php.net to get a copy of this message
Hi, I have a MySQL database backend that I am using as a tips database with the admin/searching etc carried out by a PHP3 frontend. As I am allowing the users to insert html into the tips to make formatting easier, I want to block the use of javascript etc so that malicious code is avoided. How would I do this? Also on a similar note, how would I do the same to block rogue php code? The resulting file extension will be .php3 as there is other formatting in there. Regards Simon Steed

« previous php.general (#344) next »