Re: [PHP] Banning javascript?

2002-04-08 Thread Michael Peters
I don't have an answer for you, but I want to ban javascript from the world. It's OK when used correctly, but used correctly means the site isn't dependant upon it and is still fully functional in non visual browsers (like what visually impaired would use) and it seems that almost no one

RE: [PHP] Banning javascript?

2002-04-08 Thread Jason Murray
Use strip_tags and only allow basic HTML (basic HTML can be anything but I'd make it BIUDIVSPANSTYLETABLETRTD) through. This will strip all SCRIPT tags. J -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT Work now, freak later! -Original Message- From: Leif K-Brooks

RE: [PHP] Banning javascript?

2002-04-08 Thread Martin Towell
but what about on* - eg onClick, onSubmit, onMouseOver, etc? -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 2:17 PM To: 'Leif K-Brooks'; [EMAIL PROTECTED] Subject: RE: [PHP] Banning javascript? Use strip_tags and only allow basic HTML

Re: [PHP] Banning javascript?

2002-04-08 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jason Murray) wrote: I want to ban javascript from my site (users can edit some things). I know how to ban it in script tags, but does anyone have a function that bans javascript in ALL of the ways of puting it on? It would take me a

Re: [PHP] Banning javascript?

2002-04-08 Thread Justin French
It depends on what YOU want to allow in the way of basic HTML... some parts of our sites, we allow BIA, other parts we don't allow A. The reason I mention this is that javascript has exist inside an A, which is an issue Lief will have to look at. A HREF=javascript:self.close();bye bye/a is a